Transparently use webpack with Python project
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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4718c7d7f07c3b7d08ac6ef3c15c631bf4d8d46bb941f15c12c4348adf5ba11b |
|
MD5 | 084d16e65b0c0cbbe4b78ab079a7e702 |
|
BLAKE2b-256 | 57f836712fcad011e535c78272aa4d807ab7de44c748ee8147634728c587e8b6 |
Close
Hashes for python_webpack_boilerplate-0.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f12a729eef68f20653568c14274bd2a5f8c6fbebf30b1ce8e35434bde7abf83d |
|
MD5 | 1838d65a7b9c7bd39d20b8ec3295ef48 |
|
BLAKE2b-256 | 55b6c3591188e4724acda4117deb795b7f376d0ecdcd67d47f3bee8a91af8300 |