unocss-preset-winui
v0.0.7
Published
use winui with unocss
Downloads
14
Readme
unocss-preset-winui
Starter
ni -D unocss-preset-animations unocss-preset-winui
Usage
// unocss.config.ts
import { defineConfig, presetUno } from "unocss";
import presetAnimations from "unocss-preset-animations";
import { presetWinui } from "unocss-preset-winui";
export default defineConfig({
presets: [
presetUno(),
presetAnimations(),
presetShadcn(),
],
// By default, `.ts` and `.js` files are NOT extracted.
// If you want to extract them, use the following configuration.
content: {
pipeline: {
include: [
// the default
/\.(vue|svelte|[jt]sx|mdx?|astro|elm|php|phtml|html)($|\?)/,
// include js/ts files
"src/**/*.{js,ts}",
],
},
},
});