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

启动项目后报link未定义,首页无法显示 #33

Closed
lanwp530 opened this issue May 20, 2021 · 3 comments
Closed

启动项目后报link未定义,首页无法显示 #33

lanwp530 opened this issue May 20, 2021 · 3 comments

Comments

@lanwp530
Copy link

Describe the bug
启动应用后,应用正常启动。但是进入首页后报如下错误,link未定义页面无法正常显示:
微信图片_20210520130543

To Reproduce
Steps to reproduce the behavior:

  1. 启动应用。
  2. 正常启动后访问首页

Expected behavior
A clear and concise description of what you expected to happen.

System Info

  • VuePress version: 1.8.2
  • Antdocs version: 1.3.4
  • Node version: v14.16.0
  • OS version: win10 (Microsoft Windows [版本 10.0.16299.15])

node package.json引用依赖

"devDependencies": {
    "@vuepress/plugin-active-header-links": "^1.5.4",
    "@vuepress/plugin-back-to-top": "^1.5.4",
    "@vuepress/plugin-nprogress": "^1.5.4",
    "vuepress": "^1.5.4",
    "vuepress-plugin-permalink-pinyin": "^1.0.0"
  },
  "dependencies": {
    "vuepress-theme-antdocs": "^1.3.4"
  }

Additional context
Add any other context about the problem here.

@zpfz
Copy link
Owner

zpfz commented May 20, 2021

antdocs v1.3.4 做了一些破坏性变动,需要将首页的 README.md 中首页按钮配置进行修改,例:

actionBtn:
  text: Get Started
  link: /guide/
  type: primary
  ghost: false
  size: large
preactionBtn:
  text: Playground
  link: /guide/
  type: primary
  ghost: true
  size: large

详情见:首页按钮,另外 antdocs 近期更新详情见:更新日志
目前不建议使用 vuepress-creator 创建项目,请等待 vuepress-creator 更新后再使用。

@zpfz zpfz closed this as completed May 20, 2021
@zpfz zpfz pinned this issue May 20, 2021
@xkloveme
Copy link
Contributor

xkloveme commented Jun 2, 2021

缺少首页配置项导致,我提交了pr,请作者合并

@zpfz
Copy link
Owner

zpfz commented Jun 2, 2021

缺少首页配置项导致,我提交了pr,请作者合并

已合并更新,感谢你的PR哈!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants