django-vue-cli-webpack-demo
A minimal demo showing how to wire up Webpack of a Vue CLI app to Django templates without extra plugins. (by EugeneDae)
django-vitevue
Manage Vitejs frontends for Django (by synw)
django-vue-cli-webpack-demo | django-vitevue | |
---|---|---|
3 | 4 | |
108 | 49 | |
- | - | |
0.0 | 2.8 | |
about 1 year ago | about 1 month ago | |
Python | Python | |
- | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
django-vue-cli-webpack-demo
Posts with mentions or reviews of django-vue-cli-webpack-demo.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-16.
-
Django Template-Driven app & vue.js
Yes it's possible, depends on what you want to do/how involved you want vue to be. you can add vue directly in a script tag if you want super simple(https://vuejs.org/v2/guide/installation.html#Direct-lt-script-gt-Include) or you can get as complex as using vue to to run a SPA and webpack (https://github.com/EugeneDae/django-vue-cli-webpack-demo)
-
SPA With Django
https://github.com/EugeneDae/django-vue-cli-webpack-demo To run this project first start the django server with manage.pyrunserver, then navigate to the client directory, run npm install and then npm run serve. If you navigate to the index page you'll see Vue running on the frontend.
-
The frontend framework paralysis
I ended up using this approach for a pretty substantial project and is working out very well ::https://github.com/EugeneDae/django-vue-cli-webpack-demo
django-vitevue
Posts with mentions or reviews of django-vitevue.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-13.
-
Looking for Django recommendations about frontend layer
A modern alternative to DRF to build apis in Django is django-ninja. It is very simple to use and it takes advantage of the Pydantic schemas for validation and provides an auto-generated api doc. It is less complex than DRF. I recently made a template repo using this stack. It includes Django forms support in the Vuejs frontend. The Django config was made using django-vitevue that can help configuring a Vitejs frontend quickly.
-
Django-vitevue: configure a Vitejs frontend for Django
The django-vitevue package helps configuring a Vitejs frontend for Django. It's main feature is a management command to configure a Vitejs app to compile to Django templates and static files. It handles single page apps as well as partial Django templates and works with existing frontends
-
DJANGO SPA
Good point. I would add that sometimes having a modern spa dev env makes sense, to take advantage of major improvements in frontend stacks like Typescript or hot module reload servers like Vitejs, and use drf or graphql on the Django backend side. Btw I made a package to help configuring a Vitejs frontend to compile to Django templates, if anyone interested by this approach: django-vitevue
-
Is it possible to have just a part of Django pages use component based frontent framework?
You could be interested by django-vitevue if you want to use Vitejs for your frontend. This packages helps generating a Vitejs configuration to compile your modern components based frontend app to a Django template and static files. It can compile to a partial template that can be included in your pages like any other template. Note: this package has just been rewritten and released, it is brain new
What are some alternatives?
When comparing django-vue-cli-webpack-demo and django-vitevue you can also consider the following projects:
dj-rest-auth - Authentication for Django Rest Framework
petite-vue - 6kb subset of Vue optimized for progressive enhancement
django-react-boilerplate - Django 5, React, Bootstrap 5 with Python 3 and webpack project boilerplate
vite - Next generation frontend tooling. It's fast!