VueJS example project
jsbeckr opened this issue ยท 3 comments
Hi @malj,
I played around with django-parcel-ssr and created a little example project: https://github.com/jsbeckr/django-parcel-ssr-vue-example
Keep up the good work. I like the idea of bringing Vue/React and Django closer together with a simple setup! ๐
Hi @jsbeckr,
Thanks, I'm glad the project is interesting to you. Please don't hesitate to share any feedback, as one of the project design goals is to keep the API minimal and simple as possible.
I gave your example a try and everything went smoothly, that's pretty much it ๐ Just a tip: placing the layout component next to the root component in the bundles
dir causes it to be treated as a separate Parcel entry point. Since the layout component never gets used by Django views directly, it would be better to move it somewhere outside the bundles
dir to avoid unnecessary bundling, for example:
bundles/
index.vue
components/
layout.vue
(other non root components)
as the Vue.js example is included in examples/
, can this issue be closed?
Yes, closing for inactivity.