vite-plugin-vue2-plus

Vite plugin for Vue2
854 618
Install
npm install vite-plugin-vue2-plus
Latest Version:1.7.4-rc.1
Vue:2
License:MIT
Last Updated:Feb 16, 2023
Links: GitHub  ·  npm
Maintainer: indexxuan

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-vue2

Vite plugin for Vue2

1,474,659 618
vite-plugin-git-revision

Vite plugin that generates VERSION and COMMITHASH files during build based on a...

21,961 11
@koala/yibin-ui

宜宾大脑主题定制

4,077
@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