4.0.0 • Published 5 months ago

django-vite-plugin v4.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

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.

4.0.0

5 months ago

3.0.0

6 months ago

1.3.1

9 months ago

1.3.0

9 months ago

2.0.3

7 months ago

2.0.2

8 months ago

2.0.4

7 months ago

2.0.1

8 months ago

2.0.0

9 months ago

1.2.0

11 months ago

1.1.1

1 year ago

1.1.0

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.0.0

1 year ago

0.0.1

1 year ago