Skip to content

Webpack starter for creating Bootstrap 5 based themes and templates.

Notifications You must be signed in to change notification settings

temattic/webpack-bootstrap-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack 5 + Bootstrap 5 + SASS Boilerplate

Website boilerplate

Webpack boilerplate for Bootstrap 5 templates.

Installation

npm install

All dependencies will be downloaded to the node_modules directory.

Dev Server

npm start

Now you're ready to modify the source files and generate new dist/ files. File changes are automatically detected thanks to the webpack-dev-server.

Build

npm run build

Features:

  • Bundling via Webpack 5
  • ES6+ Support via Babel 7
  • SASS Support via sass-loader
  • Linting via eslint
  • Latest version of Bootstrap 5
  • Vanilla JS, no jQuery dependencies
  • Clean code that adheres to Bootstrap's guidelines

File Structure:

boilerplate/
├── .editorconfig
├── .eslintrc
├── .gitignore
├── .stylelintrc
├── README.md
├── package.json
├── webpack/
│   ├── webpack.common.js
│   ├── webpack.dev.js
│   └── webpack.prod.js
├── src/
│   ├── favicon/
│   ├── fonts/
│   ├── html/
│   ├── images/
│   ├── js/
│   │   ├── modules/
│   │   └── app.js
│   ├── partials/
│   └── scss/
│       ├── custom/
│       ├── theme/
│       └── main.scss
└── dist/
    ├── css/
    │   └── app.css
    └── js/
        └── app.js

Built With