@kevinmarrec/cloudstack-vite-plugin
v1.0.0-rc.15
Published
Opinionated Vite plugin.
Maintainers
Readme
@kevinmarrec/cloudstack-vite-plugin
Description
Opinions
Built-in integrations (through Vite plugins):
All integrations can be customized through options.
Module preload polyfill disabled
Browser Dark mode detection (can be toggled with VueUse)
Static site generation (SSG) with Vite SSG
Usage
Requires Vite v6 or later.
// vite.config.ts
import Cloudstack from '@kevinmarrec/cloudstack-vite-plugin'
import { defineConfig } from 'vite'
export default defineConfig({
plugins: [
Cloudstack({ /* options */ }),
],
})// src/main.ts
import { Cloudstack } from 'virtual:cloudstack'
import App from './App.vue'
export const createApp = Cloudstack(App)