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-webpack-loader
Transparently use webpack with django (by owais)
django-vue-cli-webpack-demo | django-webpack-loader | |
---|---|---|
3 | 10 | |
108 | 2,491 | |
- | -0.2% | |
0.0 | 7.9 | |
about 1 year ago | 30 days 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-webpack-loader
Posts with mentions or reviews of django-webpack-loader.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-05.
- Django with React
-
what are 3 django packages everyone should know about?
Django Webpack Loader
-
Django and webpack
Check out https://github.com/django-webpack/django-webpack-loader
-
How can i get out of the frontend approach choice hell?
About one month ago i started having a lot of doubts on my frontend. At first, instead of decoupling frontend from backend, i decided to use a library called django-webpack-loader that lets me serve webpack from Django templates, so i created a Vue app and served it from Django (i used a simple index.html view). So at this point i basically have a SPA that instead of being decoupled from Django, it's served by Django.
-
SPA With Django
You can do this with Django and nothing else easily or you can use a third party library called Django-Webpack-Loader.
- Prelaunch: Definite Guide to Django and Webpack
-
Vuejs with django
In addition to what's already been said (completely separate frontend & backend; or do a CDN include), I've worked in a codebase that uses django-webpack-loader.
- Any good tutorials on pairing Vue with Django?
- How do you add reactivity to Django templates?
-
Show HN: Django and React SaaS boilerplate tutorial
The biggest challenge to using Django with React IMO is getting the right blend of isomorphic rendering down. I don't want to go full SPA with Django as this defeats the purpose of Django IMO. Most parts of the site I want server-rendered, while in stateful parts I want React. So, let's say I have a site with 20 different React "apps" (i.e. stateful components) that I want to distribute amongst my various Django sections (Django "Apps" within the same project). And I want to do that with one webpackconfig. How do I tell my webpack where to put all those react bundles? The answer I've found is django-webpack-loader[1], however as you can see in the Issues section, one of the biggest limitations here is the inability to chunk React (and other issues).
Does anyone have a solution they like for this kind of isomporphic Django problem?
1. https://github.com/owais/django-webpack-loader
What are some alternatives?
When comparing django-vue-cli-webpack-demo and django-webpack-loader you can also consider the following projects:
dj-rest-auth - Authentication for Django Rest Framework
whitenoise - Radically simplified static file serving for Python web apps