1.0.2 • Published 5 months ago

cra-template-dsibi v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

cra-template-typescript

This is the unofficial TypeScript template for Create React App.

To use this template, add --template dsibi when creating a new app.

For example:

npx create-react-app my-app --template dsibi

# or

yarn create react-app my-app --template dsibi

Template includes:

  • react
  • typescript
  • sass
  • generate-react-cli

but excludes all tests!

Within generate-react-cli and custom settings in this template you can generate a component with your custom component types like this:

npx generate-react-cli component HomePage --type=pages

npx generate-react-cli component Header --type=layout

or just component:

npx generate-react-cli component HomePage