4.0.4 • Published 9 months ago

django-vite-plugin v4.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
9 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.4

9 months ago

4.0.3

9 months ago

4.0.2

10 months ago

4.0.1

1 year ago

4.0.0

2 years ago

3.0.0

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.4

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.0.0

2 years ago

0.0.1

2 years ago