Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)