gavinliu6 / vuepress-theme-mix Goto Github PK
View Code? Open in Web Editor NEWVuePress Theme Mix for VuePress 2
Home Page: https://vuepress-theme-mix.netlify.app
License: MIT License
VuePress Theme Mix for VuePress 2
Home Page: https://vuepress-theme-mix.netlify.app
License: MIT License
您好,我发现当前的右侧侧边栏默认是三层结构,再小的子标题不予显示。这块可以开放一个depth参数用来控制子标题显示的层数么?
右边侧边栏可以单独抽出来放到v2版本的默认主题中吗,盼复
一开始我的package.json是这样的
{
"devDependencies": {
"vuepress": "^2.0.0-beta.43",
"vuepress-theme-mix": "^1.3.2"
}
}
然后一旦使用mixTheme
后页面不显示,浏览器中出现了这个错误
Uncaught (in promise) Error: usePageFrontmatter() is called without provider.
at usePageFrontmatter (chunk-RTLFYRTT.js:35:11)
at setup (Layout.vue:57:25)
at callWithErrorHandling (runtime-core.esm-bundler.js:155:22)
at setupStatefulComponent (runtime-core.esm-bundler.js:7165:29)
at setupComponent (runtime-core.esm-bundler.js:7120:11)
at mountComponent (runtime-core.esm-bundler.js:5473:13)
at processComponent (runtime-core.esm-bundler.js:5448:17)
at patch (runtime-core.esm-bundler.js:5038:21)
at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5660:17)
at ReactiveEffect.run (reactivity.esm-bundler.js:185:25)
然后把package.json中改为"vuepress": "2.0.0-beta.43",
然后就正常了。似乎与某个库的最新版本不兼容?
您好:
之前使用 v1 时,我使用 vuepress-theme-hope 作为主题,自从发现 vuepress-theme-mix 后,深爱简洁及配色,然而主题没并有集成 sitemap
我尝试安装了 hope 写的 vuepress-plugin-sitemap2 ,其 build 构建后,并没有站点地图生成,由于本人只能看懂 html 标识文本,vue 实在是不懂,在此提交一个 lssues,希望作者能增加 sitemap 。
感谢!
很喜欢这款简洁的主题,可以向 vuepress 社区仓库提 PR 推广一下
由于本人精力有限,无暇维护该仓库,现寻求有意接手者,连带 npm 代码包一起转让。
作者大大:
您好,今天我在撰写一篇文章时,由于次级标题很多,导致侧边目录长度超过屏幕高度,会显示出滚动条出来。
在 PC 端下使用夜间模式时,显示非常不友好。
在手机端,由于手机操作系统的默认滚动条样式细小,显示非常友好。
不知道,可否方便在 PC 端增加:下拉滚动条样式。
In the code block, the line number and the code line are not on the same base lines. Take VuePress Mix Theme Documentation for example:
Moreover, there're something issue with the scroll bar but not mentioned in issue #7:
Width: 483 px |
Width: 550 px |
---|---|
![]() |
![]() |
By the way, Mix Theme is one of the best theme for VuePress 2 I have ever used. Thanks for your work :) ❤️
Hello,
collapsible: true
Is great but is there an option to make it collapsed as default, for example: collapsed = true
问题1:
老铁能否参考下面这个插件做一个自动侧边栏功能吗?不然每次新建文章,都要去sidebar中添加一下!
插件链接:
https://github.com/shanyuhai123/vuepress-plugin-auto-sidebar
问题2:
貌似侧边栏文件及文件夹不识别汉字,只能英文或数字,这就导致文档很多的情况下不是很方便,希望老铁能优化一下,哈哈!
最近发现 seo 报告里,一堆的图片 alt 属性是空的,仔细查看一下,其实 alt 属性是拆出换行显示出来,对这个还是非常满意的。
然而,不知道是否影响到图片的 alt 描述,不知能否在图片链接里 alt 属性同时也赋予。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.