vuepress-reco / vuepress-theme-reco-1.x Goto Github PK
View Code? Open in Web Editor NEW🎨 This is the repo for vuepress-theme-reco 1.
Home Page: http://v1.vuepress-reco.recoluan.com
License: MIT License
🎨 This is the repo for vuepress-theme-reco 1.
Home Page: http://v1.vuepress-reco.recoluan.com
License: MIT License
配置完后,打包后放入到服务器上,用 nginx 部署静态页面,发现点击换主题颜色没有反应,也不错,地址 http://49.232.158.72/,谢谢
设置 publish: false,在首页是不显示该文章了,但是在标签列表里还是会显示
TAB墙指的什么功能?
当点击到第二页进入一篇文章,退出文章的时候分页又会自动跳到第一页,这个问题能解决吗?
项目初始化时如果不指定目录名称会报错
TypeError: Path must be a string. Received true
个人觉着此处可以考虑做兼容, 不指定项目名称即默认初始化至当前目录下, 大佬以为如何。 这其实很常见 我记着之前大点的CLI大多是这样
比如,对个人信息md文件中通过keys加密。
第一种情况,通过搜索找到这个页面,可以不用输入密码即可进入。
第二种情况,正常点击会直接进入页面,在刷新页面后才会出现密码输入框。
希望增加博客封面图,以前用的hexo主题是在md文件开头用 thumbnail 配置的,居中等比例缩放到一定宽度
你好,如何增加自定义的icoonfont图标
你好,bgImage的min-height 能否自己设置?350px,我们认为太小,我们想自定义为850px
增加管理员登录功能,草稿状态文章,私密状态文章
有些文章,还没写完并不想马上公开,或者并不想公开私密阅读
1、增加管理员登录功能。
2、对于文章md文件的配置头部,增加文章发布状态,1,发布,2,草稿,3,私密。
NO
我使用了Typora来编写markdown文件,而文件中的高亮代码==和mermaid 代码都没法通过解释,都是原来的代码,这个问题是应该找vuepress吗?
[root@VM_0_7_centos my-blog]# npm run dev
[email protected] dev /root/my-blog
vuepress dev docs
wait Extracting site metadata...
/root/my-blog/docs/.vuepress/config.js:76
'@vuepress/pwa': {
^
SyntaxError: Unexpected token :
默认安装后 npm run dev
主题icon颜色根据主题选择变化
更加直观的感觉到主题的切换
需要配置对应的icon的颜色
如题,建议将文章页宽一点。
不知道这边主题是否可以解决?vuejs/vuepress#1615
标签点击后使用search进行跳转导致github上为 404
https://mrzhoulichao.github.io/tag/?tag=%E5%90%8E%E7%AB%AF
页面直接gg了,控制台显示:Error: Cannot find module './recoConfig.js'
亲爱的,可以及时更新一下API文档吗? @recoluan
各大博客平台上,首页的分页也是很常见吧!找了找文档没有写,于是乎就看了源代码,源代码中直接显示头10条 ,其余的隐藏,这样的方式可能不太好,首先就造成无用的 DOM 树残留在页面上,扯远了,,最后还是希望能够有个分页功能能够的指定去看哪一页的内容
就是我不想使用脚手架,不想去nodemodel那里去改主题,我想直接对主题魔改,应该怎么做呢?
从加密页面切换到非加密页面,加密输入框还在
none
大佬,请问可以支持背景乐吗
每个页面都请求了 leanCloud
,即使这个页面没有评论框
.vuepress/override.styl
文件无法生效when set plugins: [['@vuepress-reco/vuepress-plugin-screenfull', false]]
in themeConfig.
screenfull will not render but there is a warning in console that is Screenfull
component is not register correctly and the Screenfull
tag show in html.
You can add a fullScreenPicker
like themePicker
in themeConfig and set it in Sreenfull
that use v-if
.
能不能参照人家的,他的评论为空不会报错,也是用Valine
https://www.finen.top/blog/others/wheel/vuepress.html#vuepress%E7%BD%91%E7%AB%99
设置文章加密后(页面加上keys),从主页或者TimeLine进入对应文章是仍然可以顺利访问,强制刷新一次后出现加密的状态。
从category或者tag的入口进去,就能显示加密的状态
cli构建的还是1.04版本🤣
升级到了1.1.0看见文档说不需要配置/docs/timeline/README.md文件,删除了这个文件的确timeline正常显示但是会刷新404,因为是挂在github不能配置try_files,不知道是不是我操作问题不该删:joy:
默认主题有的预渲染,这个主题没有?是我的设置问题吗?
#10 Bug report
移动端时间线里日期变为NAN, 在safari和qq浏览器中测试均复现
在config中配置目录
新建目录文件两个,一个是前端,一个是后端
写文章时添加分类
ok,那这个文章是该写在哪个文件夹下,才会被有序渲染在对应的分类里面?
原生 markdown.toc 的配置在我的项目中不生效
配置如下:
markdown: {
lineNumbers: true,
toc: {
includeLevel: [1, 2, 3, 4, 5]
}
},
期望:
五级 均生成 ToC
结果:
仅生成 2、3 两级
npm run dev后预览的网页一切正常但是build之后的网页nginx加载浏览发现缺失了footer并且所有链接点击之后路由跳转了但页面并未变化。
修改默认主题
你可以使用 vuepress eject [targetDir] 这个命令来将默认主题的源码复制到 .vuepress/theme 文件夹下,从而可以对默认主题进行任意的修改。需要注意的是一旦 eject,即使升级 VuePress 你也无法再获得 VuePress 对默认主题的更新。
hello,我在照着 https://www.jianshu.com/p/b3e7939d1544 这篇文章在整理时,发现摘要无法显示.博客中写的是摘要只要写到文章中就可以了,但是当我写在文章中后,摘要在文章中显示了,未在文章列表中显示.我是不是漏了什么东西
点击首页标签之后跳转地址为:xxxxx/tag/#?tag=xxx
多了一个#导致实际显示的不是那一栏
开始怀疑与环境有关系。我把报错电脑的node版本、vue版本、vuepress版本都确认为不报错的电脑一致后还是不行。
found in
--->
error Error rendering /: false
undefined
TypeError: Cannot read property 'match' of undefined
at ensureExt (node_modules/vuepress-theme-reco/util/index.js:35:0)
at Proxy.link (node_modules/vuepress-theme-reco/components/NavLink.vue:35:0)
at Proxy.computedGetter (/Users/apple/Documents/VueWorkspace/BTLBlog/node_modules/vue/dist/vue.runtime.common.dev.js:4825:15)
at Proxy.render (node_modules/vuepress-theme-reco/components/NavLink.vue?e84c:1:89)
at VueComponent.Vue._render (/Users/apple/Documents/VueWorkspace/BTLBlog/node_modules/vue/dist/vue.runtime.common.dev.js:3532:22)
at resolve (/Users/apple/Documents/VueWorkspace/BTLBlog/node_modules/vue-server-renderer/build.dev.js:8400:27)
at waitForServerPrefetch (/Users/apple/Documents/VueWorkspace/BTLBlog/node_modules/vue-server-renderer/build.dev.js:8272:3)
at renderComponentInner (/Users/apple/Documents/VueWorkspace/BTLBlog/node_modules/vue-server-renderer/build.dev.js:8411:3)
at renderComponent (/Users/apple/Documents/VueWorkspace/BTLBlog/node_modules/vue-server-renderer/build.dev.js:8368:5)
at RenderContext.renderNode (/Users/apple/Documents/VueWorkspace/BTLBlog/node_modules/vue-server-renderer/build.dev.js:8279:5)
at RenderContext.next (/Users/apple/Documents/VueWorkspace/BTLBlog/node_modules/vue-server-renderer/build.dev.js:2598:23)
at cachedWrite (/Users/apple/Documents/VueWorkspace/BTLBlog/node_modules/vue-server-renderer/build.dev.js:2451:9)
at renderStringNode$1 (/Users/apple/Documents/VueWorkspace/BTLBlog/node_modules/vue-server-renderer/build.dev.js:8496:5)
at RenderContext.renderNode (/Users/apple/Documents/VueWorkspace/BTLBlog/node_modules/vue-server-renderer/build.dev.js:8277:5)
at RenderContext.next (/Users/apple/Documents/VueWorkspace/BTLBlog/node_modules/vue-server-renderer/build.dev.js:2598:23)
at RenderContext.cachedWrite [as write] (/Users/apple/Documents/VueWorkspace/BTLBlog/node_modules/vue-server-renderer/build.dev.js:2451:9)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
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.