A demo app for SCSS Webpack configuration.
- Clone the repository
git clone [email protected]:amuthanarulraj/scss-webpack-template.git
. - Navigate to project directory
cd scss-webpack-template
. - Run
npm install
.
Default build mode is production
. This will build index.html
, main.js
and main.css
files in the dist
directory.
- To build the app, run
npm run build
. - Launh the app by opening the file
./dist/index.html
in a browser.
Follow below steps to lauch the app using webpack-dev-server
.
- Run
npm start
ornpm run start
. - This will open the app on a browser window.