Fork this Repository and request a PR after commits.
Create a regular issue.
Install nodejs and npm
Clone the repo
git clone https://github.com/shaminmeerankutty/webpack-sass-bootstrap-boilerplate.git
Install All Packages
npm install
Starting Developement Environment (Check the browser at http://localhost:8080/)
npm start
Building files
npm run build
-
Add your html files in the
srcdirectory (By defaultindex.htmlis added to yoursrcdirectory, feel free to edit it)-
Make sure you add it in your
webpack.config.js(Replacenamewith yourfilename)plugins: [ ... new HtmlWebpackPlugin({ template: 'src/name.html', inject: 'body', filename: 'name.html' }), ... ],
-
-
Add images to your
src/assetsfolder -
Add sass files to
src/scssfolder-
Make sure you import the scss file in
main.scss@import "filename";
-