- A simple plugin for Vite with usage of Dreamland.js
- Used in Create Dreamland App
npm install -d vite-plugin-dreamland
// vite.config.js
import { defineConfig } from 'vite';
import { dreamlandPlugin } from 'vite-plugin-dreamland';
export default defineConfig({
plugins: [dreamlandPlugin()]
});
Warning
If you wish to use dreamlandVite()
It must be imported like this: import { dreamlandVite } from 'vite-plugin-dreamland';
Over: import dreamlandVite from 'vite-plugin-dreamland';
Licensed under the MIT License.