Giter Club home page Giter Club logo

vuepress-blog's Introduction

vuepress valine element-ui

中文文档|English

vuepress版本为1.3.1

欢迎使用主题vuepress-theme-tassel

快速开始

git clone https://github.com/hirCodd/vuepress-blog.git

运行项目

yarn install //安装依赖
yarn dev //运行

本地演示

如果看到下面这行即说明开发运行正常

VuePress dev server listening at http://localhost:8080/

打开浏览器,输入localhost:8080即可访问

demo

demo

开发

如果您想用该项目部署您自己的blog,请fork本项目,然后clone到您本地即可更改。如果您懂vue.js,那您可以自己开发一部分插件。

已完成功能

  • Archives
  • Tags Cloud
  • Simple Categories

评论功能

评论工具1 Valine.js

Valine.js使用方法

评论工具2 gittalk

Gittalk

评论工具3 gitment

Gitment

代码已经写好,在`.vuepress/theme/components/Comments.vue`中,依照网上配置可以很轻松使用Gitment或者Gittalk。

禁止评论

很多情况的页面都不想被评论,所以在每篇文档开头设置即可!如下:

    ---
    title: git 进阶操作命令
    comments: true or false // true: 可以评论,false: 禁止评论
    post: true //是否作为archives或者tags的列表,true: 作为 false:禁止
    tags:
      - xxx
    date: 2019/03/21 11:24:30
    ---

    if (element.frontmatter.post == true) {} // archives
    if (element.frontmatter.post == true && element.frontmatter.tags.includes(tag)) {} // tags

vuePress官网文档

Vuepress文档

Valine.js食用方法

Valine.js文档

浏览器支持

Most browsers(Firefox,Chrome等)

LiCENSE

MIT

vuepress-blog's People

Contributors

dependabot[bot] avatar moremind 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

Watchers

 avatar

vuepress-blog's Issues

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.