"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
File details
Details for the file gdaps_frontend_vue-0.0.5.tar.gz
.
File metadata
- Download URL: gdaps_frontend_vue-0.0.5.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 346063a67cba01bd05cf34e5844c8b6fbdc18eef48fa5935908689184521dba9 |
|
MD5 | bf119c7c398f2db3c7c12eda5870e047 |
|
BLAKE2b-256 | 76560d1de0ff77dd8386a3c377e5c020279ed5722a2d647195fc3ac2f9947d95 |
File details
Details for the file gdaps_frontend_vue-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: gdaps_frontend_vue-0.0.5-py3-none-any.whl
- Upload date:
- Size: 43.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01de3014fe19362c6ebbbedd615a2fd755ed8024e743a38f08d4418f3c9393e9 |
|
MD5 | 68e187a584b9a30d1d60fce5bc029988 |
|
BLAKE2b-256 | bc1f5a8d6ecdab76987368abb9aa284208d09979750718462d3b4bfea433a61b |