Skip to content

Pug 提取器

支持从 Pug 模板中提取类。

安装

bash
pnpm add -D @unocss/extractor-pug
bash
yarn add -D @unocss/extractor-pug
bash
npm install -D @unocss/extractor-pug
uno.config.ts
ts
import extractorPug from '@unocss/extractor-pug'
import { defineConfig } from 'unocss'

export default defineConfig({
  extractors: [
    extractorPug(),
  ],
})

Released under the MIT License.