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

怎样将VUE前端项目部署在apache 服务器呢? 由于对于VUE不是很熟悉,还请帮助下。 #51

Open
yyangjunfei opened this issue Mar 9, 2021 · 2 comments

Comments

@yyangjunfei
Copy link

music-client 项目中.我修改了如下,music是我新建的目录
config/index.js
image
image
src/router/index.js 配置如下:
image
部署后出现如下这样问题:
image
后端的项目接口是可以调用的:
image

@Yin-Hongwei
Copy link
Owner

你前端项目里搜一下localhost:8888,改成8.136.200.175:8888

@yyangjunfei
Copy link
Author

你前端项目里搜一下localhost:8888,改成8.136.200.175:8888

问题解决了,学习了, 非常感谢了, 哈哈哈~

微信截图_20210310123533

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