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

Support vite #181

Closed
yuyichen opened this issue Jun 4, 2021 · 4 comments
Closed

Support vite #181

yuyichen opened this issue Jun 4, 2021 · 4 comments

Comments

@yuyichen
Copy link

yuyichen commented Jun 4, 2021

我使用的vite作为脚手架
本地运行OK,打包后发布后,运行报错,看代码初步判断是代码顺序有问题,不清楚是脚手架导致的还是依赖本身导致的,
image

image

image

image

@jaywcjlove
Copy link
Member

@yuyichen 具体不太清楚 vite 的编译过程干了什么,解决不了你的问题,你可以去 vite 里面搜索试一试

@jaywcjlove
Copy link
Member

@yuyichen 要做什么样的操作支持 vite 呢?

@jaywcjlove jaywcjlove changed the title 打包后运行报错 Support vite Jun 4, 2021
@jaywcjlove jaywcjlove pinned this issue Jun 4, 2021
@yuyichen
Copy link
Author

yuyichen commented Jun 4, 2021

我先试试换成其他脚手架吧

@yuyichen
Copy link
Author

yuyichen commented Jun 7, 2021

试了 create-react-app脚手架下正常,看来是vite的锅

@yuyichen yuyichen closed this as completed Jun 7, 2021
@jaywcjlove jaywcjlove unpinned this issue Sep 15, 2021
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