Skip to main content

"Generic Django Apps Plugin System - Vue.js frontend plugin"

Project description

Gdaps-Frontend-Vue Plugin

When the gdaps.frontend app is activated in INSTALLED_APPS, the startplugin management command must be extended by a frontend part like gdaps-frontend-vue: When a new plugin is created, it creates a frontend/myproject-plugin-fooplugin directory wth some boilerplate files in that plugin.

Install

As prerequisite, it is recommended to install vue globally, you can do that with yarn global add @vue/cli @vue/cli-service-global (GDAPS tries to do that during the initfrontend call).

Now execute

./manage.py initfrontend

This will install a full Vue.js frontend (using Vue CLI). You can start yarn serve (or npm run serve, depending on your choice) in the frontend directory afterwords. You then need to start Django using ./manage.py runserver as usual to enable the Django backend. GDAPS manages all the needed background tasks to transparently enable hot-reloading when you change anything in the frontend source code now.

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

gdaps_frontend_vue-0.0.4.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

gdaps_frontend_vue-0.0.4-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

Details for the file gdaps_frontend_vue-0.0.4.tar.gz.

File metadata

  • Download URL: gdaps_frontend_vue-0.0.4.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for gdaps_frontend_vue-0.0.4.tar.gz
Algorithm Hash digest
SHA256 a1f8796a47d9a8e2ff3ab9a447cd14c3a95ee60e90dc30d0c5ae828063fc8ae7
MD5 42ebc4417dccf1c0bb57876d17442ae8
BLAKE2b-256 7baa38157266c3ea104e6657d4a0372ec994832d4f8501631cd0b1c6d32508f3

See more details on using hashes here.

File details

Details for the file gdaps_frontend_vue-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: gdaps_frontend_vue-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 30.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for gdaps_frontend_vue-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3811667e36243afc5883dee03fab32631654e2eb9117668bfb37bf0ec0ba157a
MD5 c91f516bbd4662dd0211bdfbfeee8d93
BLAKE2b-256 f07c2f706797551e16fdc28e1b1233d1b412b44a484c31471e97249e9d0c59ea

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