Theemo / @theemo/vite / theemo
Function: theemo()
ts
function theemo(options): Plugin<any>[];
Defined in: index.ts:32
Theemo plugin for vite. Use it for loading themes
Parameters
Parameter | Type | Description |
---|---|---|
options | Options | your options, such as the default theme |
Returns
Plugin
<any
>[]
Example
Using theemo()
in vite.
ts
import { defineConfig } from 'vite'
import { theemo } from '@theemo/vite';
export default defineConfig({
plugins: [
theemo({
defaultTheme: 'ocean'
})
]
});