├── .eslintignore ├── .eslintrc ├── .gitignore ├── .npmrc ├── README.md ├── example ├── .gitignore ├── .vscode │ └── extensions.json ├── README.md ├── index.html ├── package.json ├── public │ └── favicon.ico ├── src │ ├── App.vue │ ├── assets │ │ └── logo.png │ ├── components │ │ └── HelloWorld.vue │ ├── env.d.ts │ ├── main.ts │ └── styles │ │ └── main.css ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts ├── package.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── src ├── index.ts ├── util.ts └── vite.ts ├── test └── basic.test.ts ├── tsconfig.json ├── tsup.config.ts ├── vite.config.ts └── vite.d.ts /.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules 3 | public 4 | !.vitepress 5 | temp -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/.npmrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/README.md -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/example/.gitignore -------------------------------------------------------------------------------- /example/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["johnsoncodehk.volar"] 3 | } 4 | -------------------------------------------------------------------------------- /example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/example/README.md -------------------------------------------------------------------------------- /example/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/example/index.html -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/example/package.json -------------------------------------------------------------------------------- /example/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/example/public/favicon.ico -------------------------------------------------------------------------------- /example/src/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/example/src/App.vue -------------------------------------------------------------------------------- /example/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/example/src/assets/logo.png -------------------------------------------------------------------------------- /example/src/components/HelloWorld.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/example/src/components/HelloWorld.vue -------------------------------------------------------------------------------- /example/src/env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/example/src/env.d.ts -------------------------------------------------------------------------------- /example/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/example/src/main.ts -------------------------------------------------------------------------------- /example/src/styles/main.css: -------------------------------------------------------------------------------- 1 | html { 2 | @apply bg-dark-500 p-12; 3 | } -------------------------------------------------------------------------------- /example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/example/tsconfig.json -------------------------------------------------------------------------------- /example/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/example/tsconfig.node.json -------------------------------------------------------------------------------- /example/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/example/vite.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - example -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/src/util.ts -------------------------------------------------------------------------------- /src/vite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/src/vite.ts -------------------------------------------------------------------------------- /test/basic.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/test/basic.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/tsup.config.ts -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/vite.config.ts -------------------------------------------------------------------------------- /vite.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wheatjs/unocss-directives/HEAD/vite.d.ts --------------------------------------------------------------------------------