|
| 1 | +[](https://v1.vuepress.vuejs.org/) |
| 2 | +[](https://valine.js.org/) |
| 3 | +[](http://element-cn.eleme.io/) |
| 4 | + |
| 5 | +[中文文档](https://github.com/hirCodd/vuepress-blog/blob/master/README.md)|[English](https://github.com/hirCodd/vuepress-blog/blob/master/README_en.md) |
| 6 | + |
| 7 | +## vuepress: 1.0.0-alpha.42 |
| 8 | + |
| 9 | +## Quick Start |
| 10 | +```bash |
| 11 | +git clone https://github.com/hirCodd/vuepress-blog.git |
| 12 | +``` |
| 13 | +## Local Development |
| 14 | + |
| 15 | + yarn install // install lib |
| 16 | + yarn dev // run dev |
| 17 | + |
| 18 | +## Local Demo |
| 19 | +> If you see next code: |
| 20 | +
|
| 21 | + VuePress dev server listening at http://localhost:8080/ |
| 22 | + |
| 23 | +> Open Browser, get this addrss: localhost:8080 |
| 24 | +
|
| 25 | +## Remote Demo |
| 26 | +[demo](https://www.finen.top/) |
| 27 | + |
| 28 | +## Develop |
| 29 | + |
| 30 | +> If you want to develop this blog, you can fork or clone this project. |
| 31 | +
|
| 32 | +## Function |
| 33 | +- [x] Archives |
| 34 | +- [x] Tags Cloud |
| 35 | +- [x] Simple Categories |
| 36 | + |
| 37 | +## Comments |
| 38 | + |
| 39 | +### Comment1: Valine.js |
| 40 | +[Valine.js](https://valine.js.org/) |
| 41 | + |
| 42 | +### Comment2: gittalk |
| 43 | +[Gittalk](https://gitalk.github.io/) |
| 44 | + |
| 45 | +### Comment3 gitment |
| 46 | +[Gitment](https://imsun.github.io/gitment/) |
| 47 | + |
| 48 | + |
| 49 | + this code on the directory: `.vuepress/theme/components/Comments.vue`,yan can use gittalk or gitment easily. |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | +## Forbid Comment |
| 54 | +> on the xx.md, you can config these properties |
| 55 | +```js |
| 56 | + --- |
| 57 | + title: git |
| 58 | + comments: true or false |
| 59 | + post: true //archives or tags: true |
| 60 | + tags: |
| 61 | + - xxx |
| 62 | + date: 2019/03/21 11:24:30 |
| 63 | + --- |
| 64 | + |
| 65 | + if (element.frontmatter.post == true) {} // archives |
| 66 | + if (element.frontmatter.post == true && element.frontmatter.tags.includes(tag)) {} // tags |
| 67 | +``` |
| 68 | + |
| 69 | +## vuePress-Document |
| 70 | + |
| 71 | +[Vuepress](https://vuepress.docschina.org/) |
| 72 | + |
| 73 | +## Valine.js-Document |
| 74 | +[Valine.js](https://valine.js.org/) |
| 75 | + |
| 76 | +## Browser Support |
| 77 | +Most browsers(Firefox,Chrome...) |
| 78 | + |
| 79 | +## LiCENSE |
| 80 | +[MIT](https://github.com/hirCodd/vuepress-blog/blob/master/LICENSE) |
0 commit comments