vite-plugin-vue2-plus
vite-plugin-vue2
Usage
- run
yarn add vite-plugin-vue2 --dev - add the plugin into
vite.config.js
// vite.config.js
const { createVuePlugin } = require('vite-plugin-vue2')
module.exports = {
plugins: [createVuePlugin(/*options*/)],
}
Options
vueTemplateOptions
Type: Object
Default: null
The options for @vue/component-compiler-utils.
jsx
Type: Boolean
Default: false
The options for jsx transform.
jsxOptions
Type: Object
The options for @vue/babel-preset-jsx.
Todo
- SSR Build
- Sourcemap
Related Packages
vite-plugin-git-revision
Vite plugin that generates VERSION and COMMITHASH files during build based on a...
21,961
11
@yfwz100/vite-plugin-vue2-i18n
The missing vue 2 SFC version of vite plugin for vue-i18n, inspired by the rollu...
147,915
6
@dullar/mercury
Advanced and highly reusable Mobile UI Components built on Vue2 & You can define...
8,553
6
Version History
Pre-releases (1)
| Version | Released | License |
|---|---|---|
| 1.7.4-rc.1 | MIT |