{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content"}],"enrichment":{"capability":"Integrates Vite, a modern JavaScript build tool, into Django projects to serve and build frontend assets with hot module replacement during development and optimized production builds.","skillfed_tags":["django-integration","frontend-build","vite"],"use_cases":["Enable hot module replacement for JavaScript during Django development without rebuilding the entire frontend on each change","Manage CSS and JavaScript dependencies using Vite's ES6 module system while serving them through Django templates","Build and optimize frontend assets for production using Vite's tree-shaking and code-splitting, then reference them in Django via manifest.json","Serve frontend assets from a CDN like S3 by subclassing the manifest client to fetch compiled assets from non-standard sources","Support React development with automatic HMR using the vite_react_refresh template tag"],"what_it_does":"Django-vite bridges Django's static file system with Vite, a modern frontend build tool. It provides template tags to load JavaScript and CSS assets, with automatic hot module replacement (HMR) during development and manifest-based asset resolution in production. The package handles the communication between Django's template layer and Vite's dev server or compiled manifest, letting you write modern ES6 modules and use Vite's fast rebuild cycles without leaving Django.\n\nThe package is configured through Django settings and works by either serving assets directly from Vite's dev server in development mode (enabling HMR) or reading a manifest.json file in production to resolve compiled asset paths. It supports custom attributes on script tags, React refresh, and loading assets from CDNs via custom manifest clients. The single runtime dependency is Django itself.","worth_installing":"Yes, if you are building a Django project with modern JavaScript and want Vite's development experience (fast rebuilds, HMR) without ejecting from Django. The package is stable, has low install friction, and carries no security vulnerabilities. The aging maintenance status is not a blocker\u2014the last commit was recent (2025-05-09) and the package is relatively simple. Install it if your workflow requires Vite; skip it if you are using Django's default static file handling or a different frontend build tool."},"id":"django-vite","links":{"html":"https://skillfed.io/packages/django-vite","md":"https://skillfed.io/packages/django-vite.md","pypi":"https://pypi.org/project/django-vite/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-02-23","license_spdx":null,"license_treatment":"permissive","name":"django-vite","python_support":"unspecified","summary":"Integration of Vite in a Django project."},"popularity":{"monthly_downloads":1095601,"position":4374,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.1.0"}
