@andrewprifer/cra-template-typescript

The base TypeScript template for Create React App with some extras.

Usage no npm install needed!

<script type="module">
  import andrewpriferCraTemplateTypescript from 'https://cdn.skypack.dev/@andrewprifer/cra-template-typescript';
</script>

README

andrewprifer-cra-template-typescript

This is my TypeScript template for Create React App.

To use this template, add --template @andrewprifer/typescript when creating a new app.

For example:

npx create-react-app my-app --template @andrewprifer/typescript

# or

yarn create react-app my-app --template @andrewprifer/typescript

For more information, please refer to:

Extra stuff

  • craco
  • emotion (with css prop support)
  • react-hot-loader (with hooks support)
  • storybook
  • prettier
  • component scaffolding (yarn scaffold)