maximdeclercq / django-vue Goto Github PK
View Code? Open in Web Editor NEWA promising attempt to use VueJS on top of Django.
License: GNU General Public License v3.0
A promising attempt to use VueJS on top of Django.
License: GNU General Public License v3.0
Since we're rendering templates dynamically, it's easier to register these components from strings.
I've made an issue on the repository of vue3-sfc-loader about some of the troubles I'm having: FranckFreiburger/vue3-sfc-loader#2
Some Vue attributes like @click
are not working because I think they get removed by BeautifulSoup while parsing. A workaround is to use v-on:
right now because that attribute starts with a letter.
The initial load takes some time and can possibly be optimized by loading some components lazily.
The Vuejs devtool is not picking up that the site is running with vuejs. Tested the official extension on both chrome and firefox and on both sites the "Vue.js not detected" message appeared.
I'm going to call these plugins, which can be added to DjangoVueView classes.
This might be possible, but maybe not for dynamic rendered javascript/templates.
Vue-sfc-loader adds the possibility to register other languages like scss. This can be useful to support existing Vue components.
Add the possibility to define other cdn's or versions for vue
and vue-sfc-loader
inside the Django settings.
ListViews and DetailViews have extra properties like object_list and object that aren't filled in by this library, this should be fixed.
In order to protect the source code of Vue components, they should be uglified before returning them in the response.
How do we import components ? Also how do we register a component like app.use(...) In vue 3. Thanks
There is already an existing django-vue
package that does not seem to be maintained, so I'd have to register it under a name like django-vuejs
or try and ask the owner of the package if I can have the name.
Django Fluid was replaced by Django Vue, however the README.md still covers how to use Django Fluid and not how to use Django Vue.
I've encountered that some pages keep reloading without any reason. This is possibly a conflict with some old javascript still in place.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.