Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chenjiahan/esbuild-plugin-vue-jsx
Vue3 JSX support for esbuild.
https://github.com/chenjiahan/esbuild-plugin-vue-jsx
Last synced: 23 days ago
JSON representation
Vue3 JSX support for esbuild.
- Host: GitHub
- URL: https://github.com/chenjiahan/esbuild-plugin-vue-jsx
- Owner: chenjiahan
- License: mit
- Created: 2022-01-04T08:45:16.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-06T06:34:01.000Z (almost 3 years ago)
- Last Synced: 2024-10-03T09:25:31.157Z (about 1 month ago)
- Language: TypeScript
- Homepage:
- Size: 50.8 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# esbuild-plugin-vue-jsx
[![npm version](https://badgen.net/npm/v/esbuild-plugin-vue-jsx)](https://npm.im/esbuild-plugin-vue-jsx) [![npm downloads](https://badgen.net/npm/dm/esbuild-plugin-vue-jsx)](https://npm.im/esbuild-plugin-vue-jsx)
## Install
```bash
npm i esbuild-plugin-vue-jsx -D
```## Usage
```ts
import { build } from 'esbuild';
import vueJsx from 'esbuild-plugin-vue-jsx';build({
plugins: [
vueJsx({
// options are passed on to @vue/babel-plugin-jsx
}),
],
});
```## Options
See [@vue/babel-plugin-jsx](https://github.com/vuejs/jsx-next).
## License
MIT.