When using django-webpack-loader
, you need to create Webpack
project on your own, which is not easy for many newbie Django developers.
python-webpack-boilerplate
can let you play with modern frontend tech in Django, even you have no idea how to config Webpack.
- Supports Django and Flask (will support more framework in the future)
- Automatic multiple entry points
- Automatic code splitting
- Hot Module Replacement (HMR) (auto reload web page if you edit JS or SCSS)
- Easy to config and customize
- ES6 Support via babel (v7)
- JavaScript Linting via eslint
- SCSS Support via sass-loader
- Autoprefixing of browserspecific CSS rules via postcss and postcss-preset-env
- Style Linting via stylelint