django-vite-plugin
TypeScript icon, indicating that this package has built-in type declarations

4.0.4 • Public • Published

Django Vite Plugin

npm version npm downloads Licence

Introduction

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.

Installation

# Install django app (this is required)
pip install django_vite_plugin

# Install vite plugin
npm install django-vite-plugin

Usage

//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',
        ])
    ],
});

See the official documentation for more details

Official Documentation

Documentation for the Django Vite plugin can be found on the Github.

License

The Django Vite plugin is open-sourced software licensed under the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i django-vite-plugin

Weekly Downloads

322

Version

4.0.4

License

MIT

Unpacked Size

80.9 kB

Total Files

16

Last publish

Collaborators

  • protibimbok