"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
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
Hashes for gdaps_frontend_vue-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01de3014fe19362c6ebbbedd615a2fd755ed8024e743a38f08d4418f3c9393e9 |
|
MD5 | 68e187a584b9a30d1d60fce5bc029988 |
|
BLAKE2b-256 | bc1f5a8d6ecdab76987368abb9aa284208d09979750718462d3b4bfea433a61b |