CRA template with: typescript, axios, sass, react-router, redux and much more already configured.
npm install cra-template-complete-web-appsh
npx create-react-app my-app --template complete-web-app
`
or
`sh
yarn create react-app my-app --template complete-web-app
`
The --template parameter points to this template, note that cra-template- prefix is omitted.
ā ļø Warning
Cloning this repo pulls down the template only, not a bundled and configured Create React App.
𧬠Template structure
This is the structure of the files in the template:
`sh
ā
āāā public # public files (favicon, .htaccess, manifest, ...)
āāā src # source files
ā āāā components
ā āāā pages
ā āāā resources # images, constants and other static resources
ā āāā store # Redux store
ā ā āāā actions # store's actions
ā ā āāā reducers # store's reducers
ā āāā styles
ā āāā tests # all test files
ā āāā types # data interfaces
ā āāā utility # utilities functions and custom components
ā āāā App.tsx
ā āāā index.tsx
ā āāā react-app-env.d.ts
ā āāā RootComponent.tsx # React component with all the routes
ā āāā serviceWorker.ts
ā āāā setupTests.ts
āāā .eslintrc.js
āāā .gitignore
āāā .prettierrc
āāā package.json
āāā README.md
āāā tsconfig.json
``