petite-vue
django-vitevue
Our great sponsors
petite-vue | django-vitevue | |
---|---|---|
67 | 4 | |
8,754 | 49 | |
1.4% | - | |
0.0 | 2.8 | |
3 months ago | about 1 month ago | |
TypeScript | Python | |
MIT License | MIT License |
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.
petite-vue
- Best No-Code/Low-Code Frontend Builder
-
Show HN: A Lightweight 1.7KB JavaScript Framework
Something similar: https://github.com/vuejs/petite-vue (6kb subset of Vue) but the project seems abandoned.
-
Vue Developers, What Makes It Your Choice?
I started with petite-vue because Vue seemed too large of a file size for my simple projects. Wanting to use Vue but after reading some of the comments, I might go with Svelte.
-
AI will make web development so much easier
Like: petite-vue And/or a zero-dependency lightweight state management solution.
-
Little incremental wannabe
I recommend trying https://github.com/vuejs/petite-vue as a minimalist library for declarative reactive view/model data binding, it could at least halve the code used for generating view
- A PetiteVue Tutorial - 01 Hello World
-
How does Tiktok on iOS Safari play videos with sound?
Maybe I’ve spent 5 days on and off researching this. I was able to recreate it perfectly using petite-vue https://github.com/vuejs/petite-vue which is nice, but it does not have all the features I need in Vue3
-
Alpine.js
“petite-vue is indeed intended to fill the gap for progressive enhancement cases where Vue 3 would be too heavy-handed.
It is not abandoned, but rather it is considered "done" because the scope is well defined. I don't think it needs more features (as that would defeat the purpose of being lean and minimal). If you find yourself needing more than what petite-vue provides, you can either go up to Vue proper, or try https://alpinejs.dev/.
That said, I should update the README to indicate this more clearly.”
Github discussion: https://github.com/vuejs/petite-vue/discussions/53
-
Vue SFC's with C# MVC project?
You might consider doing as much as possible in Razor pages and then use https://github.com/vuejs/petite-vue for any functionality you might (components/interactivity/etc.) need.
-
Using script setup and SFC using Vue over CDN
As another alternative, you could look at petite-vue if you just want to sprinkle from Vue-like components throughout your site... Doesn't have the full force of vue, but maybe it's enough.
django-vitevue
-
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?
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
vite - Next generation frontend tooling. It's fast!
htmx - </> htmx - high power tools for HTML
Alpine
Gerapy - Distributed Crawler Management Framework Based on Scrapy, Scrapyd, Django and Vue.js
Svelte - Cybernetically enhanced web apps
django-vitevue-example - Example usage of django-vitevue
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
django-spaninja - Django api server with single page app template
react-18 - Workgroup for React 18 release.
django-introspection - Introspection tools for Django