@sabertazimi/cra-template-typescript
Version:
The base TypeScript template for Bod CLI.
53 lines (36 loc) • 2.5 kB
Markdown
# cra-template-typescript
[](https://github.com/sabertazimi)
[](https://raw.githubusercontent.com/sabertazimi/bod/main/LICENSE)
[](https://www.npmjs.com/package/@sabertazimi/cra-template-typescript)
[](https://www.npmjs.com/package/@sabertazimi/cra-template-typescript)
[](https://cdn.jsdelivr.net/npm/@sabertazimi/cra-template-typescript@latest/)
[](https://github.com/sabertazimi/bod/actions/workflows/ci.yml)
[](https://codecov.io/gh/sabertazimi/bod)
[](https://github.com/sabertazimi/bod/actions/workflows/ci.yml)
This is the official TypeScript template for [Bod CLI](https://github.com/sabertazimi/bod).
## Usage
### Bod CLI
```bash
# Select option `React TSX`
npx bod create my-app
```
### Create React App
To use this template,
add
`--template @sabertazimi/typescript --scripts-version @sabertazimi/react-scripts`
when creating a new app.
For example:
```sh
npx create-react-app my-app \
--template @sabertazimi/typescript \
--scripts-version @sabertazimi/react-scripts
```
For more information, please refer to:
- [Getting Started](https://create-react-app.dev/docs/getting-started):
How to create a new app.
- [User Guide](https://create-react-app.dev):
How to develop apps bootstrapped with Create React App.
## Contact
[](mailto:sabertazimi@gmail.com)
[](https://twitter.com/sabertazimi)
[](https://github.com/sabertazimi)