套件
@master/css.nuxt@master/css.nuxt
Integrate Master CSS in Nuxt way
Installation
npm i @master/css.nuxt@rc
export default defineNuxtConfig({ modules: [ '@master/css.nuxt' ]})
The default 'progressive'
mode integrates Nuxt’s SSR, SSG, ISR, and Hybrid rendering strategies through Nitro, automatically loading custom configurations — so you can get started with zero setup.
API Reference
options
The options
object extends the VitePluginOptions and is passed to the @master/css.nuxt
module. It allows you to configure the behavior of the module.
export default defineNuxtConfig({ modules: [ ['@master/css.nuxt', { mode: 'progressive' }] ]})
import { options as defaultPluginOptions, type PluginOptions } from '@master/css.vite'const options: ModuleOptions = { ...defaultPluginOptions, mode: 'progressive'}export default optionsexport declare type ModuleOptions = PluginOptions