cra-template-advanced
v3.0.2
Published
The opinioned advanced well-structured TypeScript template for Create React App.
Downloads
4
Maintainers
Readme
The opinioned advanced well-structured TypeScript template for Create React App.
Features included
- Opinioned project structure to create easy-maintainable React project.
- Hot module replacement to immediately see changes of your code in browser.
- Next.js-like routing.
- Polyfills.
- CSS normalization using normalize.css.
- Built-in Sass/SCSS.
- VSCode debug configuration.
- Prettier.
- Production-ready Docker configuration.
Getting started
npx create-react-app my-app --template advanced
# or
yarn create react-app my-app --template advanced
More details can be found on Create React App documentation. NOTE: To enable VSCode linting, please follow this instruction.
Working with Docker
To build container simply run:
docker build -t react-app .
And to run production-ready container follow this:
docker run -p 8000:80 react-app