Django plugin for Vite.
npm install django-vite-plugin


Vite is a modern frontend build tool that provides an extremely fast development environment and bundles your code for production.
This plugin configures Vite for use with Django backend.
sh
Install django app (this is required)
pip install django_vite_pluginInstall vite plugin
npm install django-vite-plugin
`
Usage
`javascript
//vite.config.js
import { defineConfig } from 'vite'
import { djangoVitePlugin } from 'django-vite-plugin'export default defineConfig({
plugins: [
djangoVitePlugin([
'home/js/app.js',
'home/css/style.css',
])
],
});
``Documentation for the Django Vite plugin can be found on the Github.
The Django Vite plugin is open-sourced software licensed under the MIT license.