GithubHelp home page GithubHelp logo

vuepress-reco / vuepress-theme-reco-1.x Goto Github PK

View Code? Open in Web Editor NEW
1.6K 1.6K 322.0 6.69 MB

🎨 This is the repo for vuepress-theme-reco 1.

Home Page: http://v1.vuepress-reco.recoluan.com

License: MIT License

Vue 69.76% JavaScript 21.05% Shell 0.11% Stylus 6.35% TypeScript 1.24% CSS 1.49%
article blog-theme doc-theme theme valine vuepress vuepress-blog vuepress-theme writing-articles

vuepress-theme-reco-1.x's People

Contributors

atqq avatar chfree avatar dependabot[bot] avatar franklinqin0 avatar ikangxu avatar ischanx avatar jsliu27 avatar keidarcy avatar lhuazai avatar lidenghui avatar mkfsn avatar reaink avatar recocopliot avatar recoluan avatar rogerleung0411 avatar siguremo avatar stevapple avatar vita2333 avatar yiliang114 avatar zenahr avatar zhaopan-pan avatar zmy122177638 avatar zpj80231 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vuepress-theme-reco-1.x's Issues

时间线页面样式错误

直接进入/timeLine/,或在此页面刷新,顶栏会错位,样式不正常。其他页面未见此问题。
Jietu20191219-215527.png

关于首页分页的问题

当点击到第二页进入一篇文章,退出文章的时候分页又会自动跳到第一页,这个问题能解决吗?

大佬, 在下提一建议

项目初始化时如果不指定目录名称会报错
TypeError: Path must be a string. Received true
个人觉着此处可以考虑做兼容, 不指定项目名称即默认初始化至当前目录下, 大佬以为如何。 这其实很常见 我记着之前大点的CLI大多是这样

页面加密无效情况

比如,对个人信息md文件中通过keys加密。
第一种情况,通过搜索找到这个页面,可以不用输入密码即可进入。
第二种情况,正常点击会直接进入页面,在刷新页面后才会出现密码输入框。

增加博客封面图

希望增加博客封面图,以前用的hexo主题是在md文件开头用 thumbnail 配置的,居中等比例缩放到一定宽度

建议增加用户登录功能阅读草稿状态文档

Feature request

增加管理员登录功能,草稿状态文章,私密状态文章

What problem does this feature solve?

有些文章,还没写完并不想马上公开,或者并不想公开私密阅读

How should this be implemented in your opinion?

1、增加管理员登录功能。
2、对于文章md文件的配置头部,增加文章发布状态,1,发布,2,草稿,3,私密。

Are you willing to work on this yourself?

NO

如何让博客增加GitHub Flavored Markdown语法?

Feature request

What problem does this feature solve?

我使用了Typora来编写markdown文件,而文件中的高亮代码==和mermaid 代码都没法通过解释,都是原来的代码,这个问题是应该找vuepress吗?

How should this be implemented in your opinion?

Are you willing to work on this yourself?

npm run dev

[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

增加文章别名

4Z%T@U4%WZTE{2CNFWLDX9E

G3FP(%BI%U(C_A%}GJJ9VAL

因为我是安装分组的方式写文章,这样每篇文章的标题可能就很简短,但是在首页如果这么简短的标题,就看不来是什么了,所以想要一个别名,在首页使用,不知道可以吗

首页分页

各大博客平台上,首页的分页也是很常见吧!找了找文档没有写,于是乎就看了源代码,源代码中直接显示头10条 ,其余的隐藏,这样的方式可能不太好,首先就造成无用的 DOM 树残留在页面上,扯远了,,最后还是希望能够有个分页功能能够的指定去看哪一页的内容

问个问题

就是我不想使用脚手架,不想去nodemodel那里去改主题,我想直接对主题魔改,应该怎么做呢?

从加密页面切换到非加密页面,加密输入框还在

  • I confirm that this is an issue rather than a question.

Bug report

What is actually happening?

从加密页面切换到非加密页面,加密输入框还在

Other relevant information

none

  • Your OS:
  • Node.js version: 11.3.0
  • VuePress version: 1.0.4
  • VuePress-theme-reco version: 1.x
  • Which package manager did you use for the install(npm/cnpm/yarn)?yarn

一些问题

  1. 图片如何引入?
  2. 图片放在哪个目录才会被编译出来
  3. 我在webpack =》 configureWebpack配置引入图片的别名是无效的。
  4. 我在 .vuepress 编写的 .vuepress/override.styl 文件无法生效

Screenfull component is not register correctly

  • I confirm that this is an issue rather than a question.

Bug report

What is actually happening?

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.

Other relevant information

image

Solution

You can add a fullScreenPicker like themePicker in themeConfig and set it in Sreenfull that use v-if.

  • Your OS: MacOS 10.15.1
  • Node.js version: v8.16.2
  • VuePress version: v1.2.0
  • VuePress-theme-reco version: v.1.14
  • Which package manager did you use for the install(npm/cnpm/yarn)? npm

文章加密功能失效

  • I confirm that this is an issue rather than a question.

Bug report

What is actually happening?

设置文章加密后(页面加上keys),从主页或者TimeLine进入对应文章是仍然可以顺利访问,强制刷新一次后出现加密的状态。
从category或者tag的入口进去,就能显示加密的状态

Other relevant information

  • Your OS: MacOS Mojave 10.14.6
  • Node.js version: 8.9.0
  • VuePress version: 1.0.1
  • VuePress-theme-reco version: 1.0.4
  • Which package manager did you use for the install(npm/cnpm/yarn)?

升级到1.1.0之后删除了timeline配置文件刷新404

Question

What is actually happening?

升级到了1.1.0看见文档说不需要配置/docs/timeline/README.md文件,删除了这个文件的确timeline正常显示但是会刷新404,因为是挂在github不能配置try_files,不知道是不是我操作问题不该删:joy:

Other relevant information

  • Your OS:
  • Node.js version:
  • VuePress version:
  • VuePress-theme-reco version: 1.1.0
  • Which package manager did you use for the install(npm/cnpm/yarn)? npm

移动端时间线里日期变为NAN

#10 Bug report

What is actually happening?

移动端时间线里日期变为NAN, 在safari和qq浏览器中测试均复现

Other relevant information

54CCBCBF9B2157C4BDEB46ABF8335ACE

  • Your OS: Iphone 8
  • Node.js version: 10.15.0
  • VuePress version: 1.x
  • VuePress-theme-reco version: 1.0.4
  • Which package manager did you use for the install(npm/cnpm/yarn)?yarn

请问下文章需要写在那个目录

首先文中提到分类的步骤

  1. 在config中配置目录

  2. 新建目录文件两个,一个是前端,一个是后端

  3. 写文章时添加分类

ok,那这个文章是该写在哪个文件夹下,才会被有序渲染在对应的分类里面?

ToC 更改设置不生效

原生 markdown.toc 的配置在我的项目中不生效

配置如下:

markdown: {
  lineNumbers: true,
  toc: {
    includeLevel: [1, 2, 3, 4, 5]
  }
},

期望:
五级 均生成 ToC

结果:
仅生成 2、3 两级

网页打包后出现页面不跳转、组件缺失

  • I confirm that this is an issue rather than a question.

Bug report

What is actually happening?

npm run dev后预览的网页一切正常但是build之后的网页nginx加载浏览发现缺失了footer并且所有链接点击之后路由跳转了但页面并未变化。

Other relevant information

  • Your OS: Windows10 1809
  • Node.js version: 10.15.3
  • VuePress version: 3.9.2
  • VuePress-theme-reco version: 1.0.0-alpha.25
  • Which package manager did you use for the install(npm/cnpm/yarn)? npm

你的网站有时候打不开哦

  • I confirm that this is an issue rather than a question.

Bug report

What is actually happening?

Other relevant information

  • Your OS:
  • Node.js version:
  • VuePress version:
  • VuePress-theme-reco version:
  • Which package manager did you use for the install(npm/cnpm/yarn)?

首页页脚可以自定义

首页页脚支持自定义,比如添加备案信息

在国内搭建自己的博客,备案几乎是避不开的,所以首页页脚不能修改有点尴尬
image

摘要不显示问题?

hello,我在照着 https://www.jianshu.com/p/b3e7939d1544 这篇文章在整理时,发现摘要无法显示.博客中写的是摘要只要写到文章中就可以了,但是当我写在文章中后,摘要在文章中显示了,未在文章列表中显示.我是不是漏了什么东西

首页tag跳转路径错误

  • I confirm that this is an issue rather than a question.

Bug report

What is actually happening?

点击首页标签之后跳转地址为:xxxxx/tag/#?tag=xxx

多了一个#导致实际显示的不是那一栏

Other relevant information

  • Your OS: Windows
  • Node.js version:
  • VuePress version: 1.0.2
  • VuePress-theme-reco version: 1.0.4
  • Which package manager did you use for the install(npm/cnpm/yarn)? npm

增加主题后编译报错[两台电脑有一台报错,另一台成功]

开始怀疑与环境有关系。我把报错电脑的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.

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.