Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork6
vuejs/vue-jsx-vapor
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Vapor Mode of Vue JSX.
- ⚡️ High Performance: It has the same performance as Vue Vapor!
- ⚒️ Directives: Support all build-in directives of Vue.
- ✨ Macros: Support most macros of Vue, Friendly to JSX.
- 🌈 Hot Module Replacement: Support functional components or defined by defineComponent.
- 🦾 Type Safe: Provide Volar plugin support by install TS Macro (VSCode plugin).
- ⚙️ ESLint: Provide an ESLint plugin for vue-jsx-vapor to automatically format code.
npm i vue-jsx-vapor
Vite
// vite.config.tsimportVueJsxVaporfrom'vue-jsx-vapor/vite'exportdefaultdefineConfig({plugins:[VueJsxVapor()],})
Example:playground/
Rollup
// rollup.config.jsimportVueJsxVaporfrom'vue-jsx-vapor/rollup'exportdefault{plugins:[VueJsxVapor()],}
Webpack
// webpack.config.jsmodule.exports={/* ... */plugins:[require('vue-jsx-vapor/webpack')()],}
Nuxt
// nuxt.config.jsexportdefaultdefineNuxtConfig({modules:['vue-jsx-vapor/nuxt'],})
This module works for both Nuxt 2 andNuxt Vite
Vue CLI
// vue.config.jsmodule.exports={configureWebpack:{plugins:[require('vue-jsx-vapor/webpack')()],},}
esbuild
// esbuild.config.jsimport{build}from'esbuild'importVueJsxVaporfrom'vue-jsx-vapor/esbuild'build({plugins:[VueJsxVapor()],})
About
Vapor Mode of Vue JSX
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors4
Uh oh!
There was an error while loading.Please reload this page.