unocss-preset-winui
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

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}",
      ],
    },
  },
});

Thanks

/unocss-preset-winui/

    Package Sidebar

    Install

    npm i unocss-preset-winui

    Weekly Downloads

    12

    Version

    0.0.7

    License

    MIT

    Unpacked Size

    44.5 kB

    Total Files

    8

    Last publish

    Collaborators

    • mangax