Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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.