Skip to main content

A Django app to create configuration files for frontend Javascript framework.

Project description

https://badge.fury.io/py/django-webpack-dev-server.svg

Django Webpack Dev Server is a Django app to create configuration files for frontend Javascript framework. It uses webpack to bundle your frontend code.

Installation

Install using pip…

pip install django-webpack-dev-server

Supported Frontend Frameworks or Library

  1. React (Javascript)

Quick start

  1. Add “django_webpack_dev_server” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'django_webpack_dev_server',
    ]
  2. Run python manage.py generate react to create a django app which has reactjs configuration.

  3. Default django app name is frontend. You can provide your name by running python manage.py generate react --app_name your_app_name

  4. Add the new django app to your INSTALLED_APPS setting like in step 1.

  5. Configure urls.py of the project to point it to the newly created django app.

  6. Start the django development server and cd into the new app and run npm start

License

MIT

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

django-webpack-dev-server-0.0.8.tar.gz (7.2 kB view details)

Uploaded Source

File details

Details for the file django-webpack-dev-server-0.0.8.tar.gz.

File metadata

  • Download URL: django-webpack-dev-server-0.0.8.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.7

File hashes

Hashes for django-webpack-dev-server-0.0.8.tar.gz
Algorithm Hash digest
SHA256 7b9ccf772abaa6c791811d7d618765fc2d8d425878b5f6d91e97f7dab36efeab
MD5 6b6338b35b33090d97bbca620d9bd7e8
BLAKE2b-256 136c164a1b7d7f818c5726d2877ab2b21dda1e59213f2a8b2bf50396f510167d

See more details on using hashes here.

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