Simple ReactJS Boilerplate to kick start your new project with SASS support and webpack watch/build tasks
.
├── server # production sever setup
├── src # source files
├── static # static files to serve
├── babelrc # babel configuration
├── gitignore # files and folders to ignore in git
├── webpack.config.js # webpack configuration
└── ReadMe.md # ReadMe file
This boilerplate repo will be updated regularly by me and also you can also contribute.
- SASS support
- webpack watch, build and local server tasks
git clone https://github.com/manikandan-ramar/react-redux-boilerplate.git
npm install
- install all npm dependencies
Note: Yarn also can be used, but not used here
npm run dev
- all SCSS and JS files will be watched for changes in port 3000 (
http://localhost:3000/
)
npm run build
- this will process following tasks:
- clean build folder
- compile SASS files to css
- build index.html
- show build folder size
npm start
- production build will be served in port 8080 (
http://localhost:8080/
).