套件

@master/css.astro@master/css.astro

NPM package ( download / month )NPM package ( download / month )NPM package size (gzipped size)NPM package size (gzipped size)Source codeSource code

Integrate Master CSS in Astro way

Installation

npm i @master/css.astro@rc
import { defineConfig } from 'astro/config'import masterCSS from '@master/css.astro' export default defineConfig({    integrations: [        masterCSS()     ]})

API Reference

options

The options object extends the VitePluginOptions and is passed to the @master/css.astro integration. It allows you to configure the behavior of the integration.

import { defineConfig } from 'astro/config'import masterCSS from '@master/css.astro'export default defineConfig({    integrations: [        masterCSS({            mode: 'extract'         })    ]})
import { PluginOptions, options as defaultPluginOptions } from '@master/css.vite'const options: IntegrationOptions = defaultPluginOptionsexport default optionsexport declare type IntegrationOptions = PluginOptions

  • Master UI


© 2025 Aoyue Design LLC.MIT License
Trademark Policy