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

Vue2 plugin for Vite

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

### Thank you very much for this project, let vue2+composition-api+vite2 combine, but some problems do not know what is going on. Would you like to see it? [Issues Github Repo](https://github.com/djkloop/form-create-designer-plugins/tree/main/packages/form-create-designer-cube)...

Breakpoints do not work when using Vue2 and TypeScript. I changed the vite version back to 2.7.x and it worked fine. I have created a sample code to confirm how...

When providing the [`base` option](https://vitejs.dev/config/#base) to Vite config, it is ignored by `vite-plugin-vue2`, the assets referenced in `` end up having a wrong path, because the base path isn’t prepended....

I believe the fix to #24 causes separate issue with `vite.ssrLoadModule` `Error: failed to load module for ssr: /@id/__x00__/vite/vueComponentNormalizer` this may be a problem with Vite - however undoing this...

enhancement

Hi there, First of all thank you for creating this package. I'm currently trying to migrate a big `vue-cli` build into the `vite` ecosystem, when running the dependency installation I...

**Reproduction repo:** https://github.com/pauloevpr/reproduction-vite-plugin-vue-2-props-issue When defining props using the `@Prop` decorator from `vue-property-decorator`, the props are undefined during the component's initilization when running in **Production**. If you take for instance the...

## Description When in node_modules, we ship .vue files directly (without doing JS minification), and we try to import them in the app, it throws below error. For clarity, I...

need reproduction

``` npx vite build ``` -> ``` [alias] Cannot read property 'length' of undefined error during build: TypeError: Cannot read property 'length' of undefined at matches (node_modules/vite/dist/node/chunks/dep-3daf770c.js:80655:35) ``` So in...

/test/scenarioInfo/scenarioInfo.less has no corresponding SFC entry in the cache. This is a vite-plugin-vue2 internal error, please open an issue. at Object.getDescriptor (/myroot/git/uat/projectName/node_modules/vite-plugin-vue2/src/utils/descriptorCache.ts:46:11) at Context.load (/myroot/git/uat/projectName/node_modules/vite-plugin-vue2/src/index.ts:114:28) at Object.load (/myroot/github/vite/packages/vite/src/node/server/pluginContainer.ts:489:42) at processTicksAndRejections...

need reproduction

when i try to import a component relatively, i got a error like this ![image](https://user-images.githubusercontent.com/29389190/141084729-7b1a4271-a11c-4ed7-a3e6-49cc96b9f450.png)