Skip to main content

Jump start frontend project bundled by Webpack

Project description

Jump start frontend project bundled by Webpack

Build Status PyPI version Documentation

Difference between django-webpack-loader

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.

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

If you want to import lightweight modern frontend solution to your web app, or you do not like heavy framework such as React, Vue.

Please check my book The Definitive Guide to Hotwire and Django


Documentation

  1. Setup With Django
  2. Setup With Flask
  3. Frontend Workflow

Raising funds

If you like this project, please consider supporting my work. Open Collective



Special Thanks

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-webpack-boilerplate-1.0.2.tar.gz (581.7 kB view hashes)

Uploaded Source

Built Distribution

python_webpack_boilerplate-1.0.2-py3-none-any.whl (591.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page