django-vite
Django template integration that loads Vite development server assets in dev mode and built Vite manifest assets in production.
django-vite is a Python package that connects Vite, the JavaScript build tool, to Django templates. It is installed with pip. In development mode its template tags include assets from the Vite development server, and in production mode they read the Vite manifest and include the built assets as standard assets.
Worth knowing
The Vite configuration has to enable the manifest output, since production mode reads the manifest file.
Identity
- Status
- Active
- Maintainer
- MrBin993
- Maintained by
- Individual
- First release
- 20215
Rendering and deploy
- Install with
- pip install django-vite2
Releases
Adoption
Sources
- 2026-10-28: links, Written in, License, GitHub stars
api.github.com/repos/MrBin99/django-vite - 2026-10-28: links, Categories, Built on, Templating, Install with
github.com/MrBin99/django-vite/blob/master/README.md - 2026-10-28: Runtime, Maintainer
github.com/MrBin99/django-vite/blob/3.2.0/setup.py - 2026-10-28: License model
raw.githubusercontent.com/MrBin99/django-vite/3.2.0/LICENSE - 2026-10-28: First release, Current major version
api.github.com/repos/MrBin99/django-vite/releases - 2026-10-28: Last release
github.com/MrBin99/django-vite/releases/tag/3.2.0 - 2026-10-28: Contributors
api.github.com/repos/MrBin99/django-vite/contributors?per_page=1 - 2026-10-28: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/pypi.org/packages/django-vite