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

base路径 #1242

Closed
coder163 opened this issue Jan 29, 2019 · 3 comments
Closed

base路径 #1242

coder163 opened this issue Jan 29, 2019 · 3 comments

Comments

@coder163
Copy link

我在设置了base属性值为/blog/之后,请求地址:http://localhost:8080/blog/

出现以下错误

清除缓存问题依然存在,但是放在其他服务器下居然可以正常访问,我不确定是不是我的问题

目录结构如下:

|--docs/
   |--blog/
   |--index.md
   |--README.md
  • 如果有知道的朋友麻烦指点
@BuptStEve
Copy link
Contributor

和我的 #1238 重复了...临时解决可以先把 base 改成 /

ps 我提了个解决的 pr,#1239

@ulivz
Copy link
Member

ulivz commented Jan 29, 2019

Duplicate of #1238 and fixed at #1239.

@ulivz ulivz closed this as completed Jan 29, 2019
@chuxubank
Copy link

chuxubank commented Feb 9, 2019

使用base路径后运行 vuepress dev 打开的页面为空白...部署之后倒是正常的
将base路径去除后正常...

抱歉...看了目录结构之后发现误解了base的意思...

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

4 participants