Skip to content

Pug Extractor

Support extracting classes from Pug template.

Installation

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

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

基于 MIT 许可发布