wp2vite icon indicating copy to clipboard operation
wp2vite copied to clipboard

一个让webpack项目支持vite的前端项目的转换工具。A front-end project automatic conversion tool。

Results 16 wp2vite issues
Sort by recently updated
recently updated
newest added

想假如交流群,进行wp2vite的问题交流

管理端用的vue-antd-admin,成功启动后空白页面,入口index.html之前再根目录public下,安装完直接再根目录生成了一个新的index.html。尝试更改vite.config的base index.html文件所在位置未果,请问我该何去何从...

![image](https://user-images.githubusercontent.com/11704527/163382231-ce4ef8e4-ff46-46ea-af1e-037fb0c635ef.png) 转换 ‘反斜杠’ 错误

![image](https://user-images.githubusercontent.com/6568115/145668120-f3293f3d-aa09-432c-9af4-13a9ac1c1a84.png) 这个项目是别人的开源项目,基于vue3 elementPlus webpack,用wp2vite转换成vite报错 原项目地址:https://gitee.com/lolicode/scui

![image](https://user-images.githubusercontent.com/22440412/131451425-187ab0df-c6c3-41c2-a424-1c9f6963b134.png)

希望提供对craco.config.js 转换识别的支持

![image](https://user-images.githubusercontent.com/35957389/158122133-7011f23a-262a-45dd-b90e-9c47596a7dd8.png)

VUE3项目转化vite后,再次使用npm run dev启动后,页面加载显示这个报错 runtime-core.esm-bundler.js?5c40:217 Uncaught TypeError: Object(...) is not a function at Proxy.render (App.vue?d78c:8:1) at renderComponentRoot (runtime-core.esm-bundler.js?5c40:710:1) at componentEffect (runtime-core.esm-bundler.js?5c40:4193:1) at reactiveEffect (reactivity.esm-bundler.js?a1e9:42:1) at effect (reactivity.esm-bundler.js?a1e9:17:1) at setupRenderEffect (runtime-core.esm-bundler.js?5c40:4176:1) at...

按照README操作后,项目不能成功运行,报错如下 ![image](https://user-images.githubusercontent.com/10457706/155292670-230abd7e-e51d-4fca-95be-9d3863185532.png) 后来自己去改了vite.config.js文件中的alias的配置,即可运行成功 ![image](https://user-images.githubusercontent.com/10457706/155292780-3c07a3c1-925b-44d3-9d02-69f36b1b0a04.png) 调整后 ![image](https://user-images.githubusercontent.com/10457706/155292859-9e0b18ca-8e76-4e9d-a5de-3028e630d960.png) 但是在浏览器访问时,就会出现以下报错,并且程序终止 ![微信图片_20220223172853](https://user-images.githubusercontent.com/10457706/155292333-e4a9f847-1771-47b4-902b-81f543fe8ed8.png)