Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue2.7是否可以使用 #106

Open
topmaxz opened this issue Aug 16, 2022 · 2 comments
Open

vue2.7是否可以使用 #106

topmaxz opened this issue Aug 16, 2022 · 2 comments

Comments

@topmaxz
Copy link

topmaxz commented Aug 16, 2022

https://github.com/vuejs/vue/blob/main/CHANGELOG.md#270-2022-07-01

vue2.7使用了新的vite插件https://github.com/vitejs/vite-plugin-vue2

我们项目测试了下,编译通过但都是白屏,去掉部分问题后会加载大量文件,不知道有没有解决方案?

@wyfer
Copy link

wyfer commented Mar 15, 2024

转换后有很多问题,比如路径导入全名,require加载文件等,最最最最重要的,我们的项目我转化后的项目vite.config.js中的插件不能用,解决了一天才发现是哪个,还花时间写了一个自动补全导入路径的插件才把项目跑起来,总之给我的感受是,这个插件做了一些事,但是更多的是帮你弄了一个vite项目,然后按照文档说的帮你做了一些事,但是有限,具体的项目还是得自己解决。

@wyfer
Copy link

wyfer commented Mar 15, 2024

但是不否认这个工具是个好工具

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants