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

https://github.com/simon-he95/unplugin-react-v-bind

给 react 上 v-bind 语法糖
https://github.com/simon-he95/unplugin-react-v-bind

react react-v-bind unplugin

Last synced: 2 months ago
JSON representation

给 react 上 v-bind 语法糖

Awesome Lists containing this project

README

          

## unplugin-react-v-bind
在 React 中支持 `v-bind` 语法

## Install

```bash
npm i unplugin-react-v-bind -D
```

## Usage

```ts
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import VitePluginReactVBind from 'unplugin-react-v-bind/vite'

// https://vitejs.dev/config/
export default defineConfig({
plugins: [
VitePluginReactVBind(),
react(),
],

})
```

## :coffee:

[buy me a cup of coffee](https://github.com/Simon-He95/sponsor)

## License

[MIT](./license)

## Sponsors