Comments (6)
你好,我们已经定位到问题。经测试,该问题的引起可能是由于你的项目没有局部安装 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.
thank you
from vuepress-theme-antdocs.
您好,请问这个主题中有没有方法设置搜索内容为全局关键字的形式展示,现在好像只能搜索到对应的 title
from vuepress-theme-antdocs.
您好,请问这个主题中有没有方法设置搜索内容为全局关键字的形式展示,现在好像只能搜索到对应的 title
你可能需要返回VuePress文档熟悉一下相关配置,AntDocs除了一些新特性,其他配置与默认主题大同小异,关于搜索内容请详细阅读https://vuepress.vuejs.org/theme/default-theme-config.html#search-box
from vuepress-theme-antdocs.
嗯嗯,按照文档确实很多配置信息都有,但是我试图使用 algolia 时,出现了如下报错信息,我查看了您的源代码,发现这个组件确实是存在的不知是否是我的配置方法不对
[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.
嗯嗯,按照文档确实很多配置信息都有,但是我试图使用 algolia 时,出现了如下报错信息,我查看了您的源代码,发现这个组件确实是存在的不知是否是我的配置方法不对
近期因个人事情繁忙,暂时没有时间对主题的 issue 进行 bug 排查,推荐你进群 867711329 进行交流,后续待 2.0 版本上线后可以对新版本主题优先体验~
from vuepress-theme-antdocs.
Related Issues (20)
- 细节完善 HOT 3
- 关于 AntDocs 2.0 的发布时间 HOT 8
- 新版本的代码区块样式问题 HOT 1
- 侧边栏分组的组标题可以有吗 HOT 2
- 启动项目后报link未定义,首页无法显示 HOT 3
- 代码块颜色如何修改? HOT 7
- 内存占用过高 HOT 3
- theorem right 语法支持 HOT 4
- 内容区域分栏怎么实现呢? HOT 2
- 在style.less内不能覆盖原有样式 HOT 2
- 进入多级目录的文档,顶部 nav 的激活高亮有问题 HOT 3
- 如何关掉主题的搜索功能? HOT 1
- Cannot read properties of undefined (reading 'getState') HOT 3
- Vue.mixin({ store}) 无法覆盖该主题自带的 vuex HOT 4
- 考虑扩展为vitepress的主题吗 HOT 1
- 安装后无法启动 HOT 2
- 希望添加文章标题目录 HOT 7
- 代码怎么启动? HOT 1
- 请教为什么图片会生成俩次 HOT 1
- 导航栏配置 `target="_blank"` 和官方的主题行为不一致。 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vuepress-theme-antdocs.