Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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()
- Host: GitHub
- URL: https://github.com/simon-he95/unplugin-vdeep
- Owner: Simon-He95
- License: mit
- Created: 2023-04-03T00:14:42.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T17:34:12.000Z (about 1 year ago)
- Last Synced: 2025-01-10T00:48:38.152Z (about 1 month ago)
- Language: TypeScript
- Homepage:
- Size: 65.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: license
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)
