This template repository is the easiast way to create react projects from scratch without any bloatware that comes with create-react-app
.
Unlike CRA, it has only the minimum packages required to get a react
project up and running. This results in a much lighter application and snappier performance.
The only extra package configured along with vanila react
is added support for .scss
files.
react 18.2.x
babel 7.18.x
webpack cli 4.x
sass
(Dart Sass)
Note: This repository is configured with Dart-sass and not [Node Sass].
- npm
- yarn
- Click on
Use this template
button in top right corner to create a new repository from this template. - Give a name to your repository and click Next.
- Clone the repository
git clone <your repository path> # eg. https://github.com/ekanshsinghal/react-starter-template.git
- Install NPM packages
cd <repository name> # eg. cd react-starter-template
yarn
- Clone the repository
git clone https://github.com/ekanshsinghal/react-starter-template.git
- Install NPM packages
cd react-starter-template
yarn
In the project directory, you can run:
yarn start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
yarn run build
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
Distributed under the MIT License. See LICENSE
for more information.