Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hairyf/unocsscan
developer tool for unocss
https://github.com/hairyf/unocsscan
Last synced: about 1 month ago
JSON representation
developer tool for unocss
- Host: GitHub
- URL: https://github.com/hairyf/unocsscan
- Owner: hairyf
- License: mit
- Created: 2023-06-09T09:19:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-15T20:22:10.000Z (about 1 year ago)
- Last Synced: 2024-10-03T08:21:01.288Z (3 months ago)
- Language: TypeScript
- Size: 87.9 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# unocsscan
[![NPM version](https://img.shields.io/npm/v/vite-plugin-unocsscan?color=a1b858&label=)](https://www.npmjs.com/package/@unocsscan/vite)
> developing
## Install
```bash
npm i unocss unocsscan -D
```## Usage
```ts
import { defineConfig } from 'vite'
import unocsscan from '@unocsscan/vite'
import unocss from 'unocss/vite'export default defineConfig({
plugins: [
unocss(),
unocsscan()
]
})
```Add `virtual:uno.css` and `virtual:unocsscan` to your main entry:
```ts
import 'virtual:uno.css'
import 'virtual:unocsscan'
```## License
[MIT](./LICENSE) License © 2022 [Anthony Fu](https://github.com/antfu)