vite-plugin-vue2 icon indicating copy to clipboard operation
vite-plugin-vue2 copied to clipboard

Vite plugin for Vue 2.7

Results 62 vite-plugin-vue2 issues
Sort by recently updated
recently updated
newest added

How to create serverBundle with vite?

```bash TypeError: Cannot add property _Ctor, object is not extensible at Function.Vue.extend (/Volumes/work/github/lzxb/vite-vue2-ssr/node_modules/vue/dist/vue.runtime.common.dev.js:5557:73) at createComponent (/Volumes/work/github/lzxb/vite-vue2-ssr/node_modules/vue-server-renderer/build.dev.js:1896:25) at resolve (/Volumes/work/github/lzxb/vite-vue2-ssr/node_modules/vue-server-renderer/build.dev.js:7207:30) at processTicksAndRejections (node:internal/process/task_queues:96:5) ``` Code screenshot Recurrence https://github.com/lzxb/vite-vue2-ssr ```bash yarn yarn...

closes #13 Wait https://github.com/vuejs/vue/pull/12609

My project builds on ```@vue/composition-api``` and ```unplugin-vue2-script-setup```, ```unplugin-vue2-script-setup``` has reactivityTransform option ``` ScriptSetup({ reactivityTransform: true }) ``` It has used a lot of ```$ref```, upgrade to vue 2.7 hope to...

enhancement

Hi everyone, thanks to [underfin/vite-plugin-vue2](https://github.com/underfin/vite-plugin-vue2) we were able to use Vite for Vue2 < v2.7 👏 for quite some time already. Unfortunately I missed the option of having a web-component...

enhancement

This is the same issue as https://github.com/vitejs/vite/issues/4836 that was fixed by https://github.com/vitejs/vite/pull/6779 for Vue3. The following configuration has no effect because it gets [overwritten here](https://github.com/vitejs/vite-plugin-vue2/blob/3b64cccf7fae755bf556876bf85fec5041ed383a/src/template.ts#L123-L125): ``` createVuePlugin({ template: { transformAssetUrlsOptions:...

This fixes #47 ### Changes: - Fixed order of loading the assetUrlOptions from the user and defaults, preventing the defaults to override the user settings. --- ### Note: I could...

Hi, i'm trying to use this plugin for a vue 2 app via vite, but it appears to be pulling in two versions of vue: it also throws the following...

When vue2.7 uses rollup to package vue, the type Plugin2 does not conform to the type Plugin, and the vue file cannot be loaded