Skip to content
On this page

Pug Extractor

Support extracting classes from Pug template.

Installation

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

export default defineConfig({
  extractors: [
    extractorPug(),
  ],
})
import { defineConfig } from 'unocss'
import extractorPug from '@unocss/extractor-pug'

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

Released under the MIT License.