GithubHelp home page GithubHelp logo

跑不起来? about vuepress-theme-antdocs HOT 6 CLOSED

zpfz avatar zpfz commented on May 18, 2024
跑不起来?

from vuepress-theme-antdocs.

Comments (6)

zpfz avatar zpfz commented on May 18, 2024

你好,我们已经定位到问题。经测试,该问题的引起可能是由于你的项目没有局部安装 VuePress,直接使用了全局 VuePress 会引起该问题。考虑到用户 VuePress 使用版本不一致以及兼容性,主题默认不再安装 VuePress 依赖,所以使用前请给你的项目安装上 VuePress。

Hello, we have located the problem. After testing, the problem may be caused by VuePress not being installed locally in your project, and directly using global VuePress will cause the problem. Considering that users use VuePress with inconsistent versions and compatibility, the theme no longer installs VuePress dependencies by default, so please install VuePress on your project before use.

from vuepress-theme-antdocs.

xieyezi avatar xieyezi commented on May 18, 2024

thank you

from vuepress-theme-antdocs.

eivmosn avatar eivmosn commented on May 18, 2024

您好,请问这个主题中有没有方法设置搜索内容为全局关键字的形式展示,现在好像只能搜索到对应的 title

from vuepress-theme-antdocs.

zpfz avatar zpfz commented on May 18, 2024

您好,请问这个主题中有没有方法设置搜索内容为全局关键字的形式展示,现在好像只能搜索到对应的 title

你可能需要返回VuePress文档熟悉一下相关配置,AntDocs除了一些新特性,其他配置与默认主题大同小异,关于搜索内容请详细阅读https://vuepress.vuejs.org/theme/default-theme-config.html#search-box

from vuepress-theme-antdocs.

eivmosn avatar eivmosn commented on May 18, 2024

嗯嗯,按照文档确实很多配置信息都有,但是我试图使用 algolia 时,出现了如下报错信息,我查看了您的源代码,发现这个组件确实是存在的不知是否是我的配置方法不对

Screen Shot 2020-07-15 at 11 40 33 AM

[Vue warn]: Failed to mount component: template or render function not defined.

found in

--->


at node_modules/_vuepress-theme-antdocs@1.1.1@vuepress-theme-antdocs/components/Navbar.vue
at node_modules/vuepress-theme-antdocs@1.1.1@vuepress-theme-antdocs/layouts/Layout.vue
at node_modules/
@[email protected]@@vuepress/core/lib/client/components/GlobalLayout.vue

from vuepress-theme-antdocs.

zpfz avatar zpfz commented on May 18, 2024

嗯嗯,按照文档确实很多配置信息都有,但是我试图使用 algolia 时,出现了如下报错信息,我查看了您的源代码,发现这个组件确实是存在的不知是否是我的配置方法不对

Screen Shot 2020-07-15 at 11 40 33 AM

近期因个人事情繁忙,暂时没有时间对主题的 issue 进行 bug 排查,推荐你进群 867711329 进行交流,后续待 2.0 版本上线后可以对新版本主题优先体验~

from vuepress-theme-antdocs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.