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

According to https://github.com/vuejs/vue-test-utils/issues/1982#issuecomment-1201131222. https://github.com/vitejs/vite-plugin-vue2/commit/9a78726d77ef9aadf3c07dacd4c27828fe8f4ac8 forces resolution to entry `vue/dist/vue.runtime.esm.js`. But in test environment, `vue.runtime.mjs` should be used to avoid dual package hazard. Maybe check the environment to conditionally override `resolve.alias`...

I was migrating a vue2/vue-cli project to vite. In the production build, I found this `requrie is not defined ` error in devtools console. ![image](https://user-images.githubusercontent.com/29777079/229271465-6ca01ab4-3ccd-463c-af5e-65163bb5973d.png) I find that srcset is...

The code currently generated by this plugin looks something like the following when building a library: src/index.js ```js export {default as Foo} from './component.vue'; ``` ```js var __component__ = /*#__PURE__*/...

Prevents generation of empty style file when use ``` ```

An SFC functional component that does not use `` will go through `__VUE_HMR_RUNTIME__.reload()` instead of `.rerender()`, because the plugin can't detect the [`functional template attr`](https://github.com/vitejs/vite-plugin-vue2/blob/main/src/main.ts#L43-L44) to inject its [`_rerender_only` marker](https://github.com/vitejs/vite-plugin-vue2/blob/main/src/main.ts#L114-L119)....

Hi, I have this code in my sfc: ``` {{ $t('booking.titleAdd') }} {{ $t('booking.titleEdit') }} {{ $t('booking.at') }} {{ vendor.public_name }} ``` And I can't get to have a space...

Error message: ``` [plugin:vite:vue2] invalid expression: Unexpected token '!' in numberRollRef!.roll Raw expression: @click="numberRollRef!.roll" ```

We're trying to setup SSR for Vue 2.7 as we move towards a future Vue 3 migration of a large Vue 2 codebase. We've moved from Webpack to Vite in...