Jump start frontend project bundled by Webpack
Project description
README
Goal
Jump start frontend project bundled by Webpack with Django, Flask quickly
What is included.
- A
frontend project template
which has good structure, easy to use and customize. You can create the frontend project with just ONE command, and use it even you have no idea how to config Webpack. - Custom template tags which can help load Webpack bundle file in the templates transparently.
Features
- 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
Optional support
Need install extra packages
- React
- Vue
Documentation
If you want to know more about Webpack and Django
- Setup Webpack Project with Django
- Load Webpack bundles in Django
- Linting in Webpack
- Load Webpack hash bundle in Django
- Code splitting with Webpack
- How to config HMR with Webpack and Django
Special Thanks
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for python-webpack-boilerplate-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b3cd6aa0202f812ba67052b3f272ee664462dcd295196ef35fee6f651ee3c92 |
|
MD5 | fe8e6c1e382594989119dba87228222b |
|
BLAKE2b-256 | a158d19a5cb5a9820781261c101cc05b1f15e9dfa4f27065acd236e53cc83f27 |
Close
Hashes for python_webpack_boilerplate-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 184dab2622abd3ca8215ba3e73535650176d39bdcc11d358447e65d283017a74 |
|
MD5 | b13b37fc3c2a15c8dc68e26b3843e13e |
|
BLAKE2b-256 | 23ba90e86ef2ed330a48776c4b673a746c671ebe1cd31db708bf22508996ede5 |