Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/simon-he95/unplugin-vdeep

Convert: deep and >>> in style to: deep()
https://github.com/simon-he95/unplugin-vdeep

Last synced: 14 days ago
JSON representation

Convert: deep and >>> in style to: deep()

Awesome Lists containing this project

README

        

Convert: deep and >>> in style to: deep()

## 📦 Install
```
npm i unplugin-vdeep
```

## 🌈 Usage

Vite

```ts
// vite.config.ts
import { vitePlugin } from 'unplugin-vdeep'
export default defineConfig({
plugins: [vitePlugin()],
})
```


Rollup

```ts
// rollup.config.js
import { resolve } from 'path'
import { rollupTransformToUnocss } from 'unplugin-vdeep'
export default {
plugins: [rollupTransformToUnocss(/* options */)],
}


Webpack

```ts
// webpack.config.js
module.exports = {
/* ... */
plugins: [
require('unplugin-vdeep').webpackTransformToUnocss({
/* options */
}),
],
}
```


Vue CLI

```ts
// vue.config.js
module.exports = {
configureWebpack: {
plugins: [
require('unplugin-vdeep').webpackTransformToUnocss({
/* options */
}),
],
},
}
```


Esbuild

```ts
// esbuild.config.js
import { build } from 'esbuild'
import { esbuildPlugin } from 'unplugin-vdeep'

build({
plugins: [esbuildPlugin(/* options */)],
})
```

## License
[MIT](./LICENSE) License © 2022 [Simon He](https://github.com/Simon-He95)

Buy Me A Coffee

![sponsors](https://www.hejian.club/images/sponsors.jpg)