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

访问404 #5

Closed
yuhal opened this issue Sep 7, 2020 · 3 comments
Closed

访问404 #5

yuhal opened this issue Sep 7, 2020 · 3 comments

Comments

@yuhal
Copy link

yuhal commented Sep 7, 2020

  • 执行
$ yarn run dev 
Cannot GET /

您好,请问这是出于什么原因?

@409915016
Copy link
Owner

当时的 webpack 构建工具还是 2.x 版本,devDependencies 也没有写死依赖包的版本号,导致安装了较新版本的包与目前配置冲突的问题。

 ERROR  Failed to compile with 1 errors                                                           0:19:38
 error 


> Listening at http://localhost:8080

如果你了解过 Vue-cli 和构建多页面应用相关内容,可以将源代码迁移到新模板中;

如果没有,我会考虑更新项目构建部分的内容,这可能要等上一阵子。

@yuhal
Copy link
Author

yuhal commented Sep 8, 2020

可惜的是我对 Vue-cli 使用不多,还不具备将源代码迁移到新模板中的能力。
感谢有您的帮忙👍,等 filmy 下次更新,我再来尝试搭建。

@409915016
Copy link
Owner

可惜的是我对 Vue-cli 使用不多,还不具备将源代码迁移到新模板中的能力。
感谢有您的帮忙👍,等 filmy 下次更新,我再来尝试搭建。

好,谢谢理解。

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