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

使用脚手架创建的vue3-base,引入element-plus报错 #15

Closed
devilJoker9 opened this issue Nov 19, 2020 · 9 comments
Closed

使用脚手架创建的vue3-base,引入element-plus报错 #15

devilJoker9 opened this issue Nov 19, 2020 · 9 comments

Comments

@devilJoker9
Copy link
Contributor

您好,使用脚手架创建的vue3-base之后,引入element-plus时代码报错;
image
然后我尝试添加vue.config.js,但是发现yarn dev走的是“emp dev“的命令,不会走我自己创建的webpack规则,请问有没有稍微完整的项目?

@ckken
Copy link
Contributor

ckken commented Nov 19, 2020

您好,使用脚手架创建的vue3-base之后,引入element-plus时代码报错;
image
然后我尝试添加vue.config.js,但是发现yarn dev走的是“emp dev“的命令,不会走我自己创建的webpack规则,请问有没有稍微完整的项目?

可否提供demo

@ckken
Copy link
Contributor

ckken commented Nov 19, 2020

@devilJoker9
Copy link
Contributor Author

https://github.com/efoxTeam/emp/tree/main/projects/element-plus尝试跑通ing

您好,我把您的demo下载下来跑了,我也把我写的代码尝试跑了,现在出现这个问题,初步怀疑是打包问题,也可能是element-plus的问题,请问您那里能跑通嘛??
image

@devilJoker9
Copy link
Contributor Author

dome.zip
这是我的demo,在yarn之后运行yarn dev,就会出现上面的错误

@devilJoker9
Copy link
Contributor Author

https://github.com/efoxTeam/emp/tree/main/projects/element-plus 尝试跑通ing

麻烦大佬百忙之中给看一下,万分感谢!!!

@devilJoker9
Copy link
Contributor Author

在检查哪个包出现的的定位,没有在代码里发现这个有引这个文件
Uploading image.png…

@devilJoker9
Copy link
Contributor Author

image

@ckken
Copy link
Contributor

ckken commented Nov 20, 2020

还在测试 跑通 告诉你

@ckken
Copy link
Contributor

ckken commented Nov 20, 2020

fix: cee3798

@ckken ckken closed this as completed Nov 20, 2020
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