All Projects → tomieric → vuepress-theme-track

tomieric / vuepress-theme-track

Licence: MIT license
🎉vuepress theme

Programming Languages

Vue
7211 projects
javascript
184084 projects - #8 most used programming language
stylus
462 projects

Projects that are alternatives of or similar to vuepress-theme-track

vuepress-theme-ououe
A blog theme for VuePress
Stars: ✭ 77 (+492.31%)
Mutual labels:  vuepress, vuepress-theme
vuepress-theme-canvas
✏️ Vuepress custom theme for blogging.
Stars: ✭ 24 (+84.62%)
Mutual labels:  vuepress, vuepress-theme
vuepress-theme-simple
✏️ Very Simple Blog Theme for VuePress
Stars: ✭ 89 (+584.62%)
Mutual labels:  vuepress, vuepress-theme
vuepress-theme-maker
🐉 A flat and clean Blog Theme for VuePress site | 一款多配置、简约风的VuePress 博客主题.
Stars: ✭ 67 (+415.38%)
Mutual labels:  vuepress, vuepress-theme
vuepress-theme-default-prefers-color-scheme
add prefers-color-scheme for vuepress default theme
Stars: ✭ 51 (+292.31%)
Mutual labels:  vuepress, vuepress-theme
vuepress-theme-book
A VuePress theme inspired by Gitbook
Stars: ✭ 107 (+723.08%)
Mutual labels:  vuepress, vuepress-theme
vuepress-theme-blog-vuetify
💥The world's most simple, beautiful and customizable 2 columns VuePress blog theme built with Vuetify
Stars: ✭ 37 (+184.62%)
Mutual labels:  vuepress, vuepress-theme
vuepress-theme-cool
A custom vuepress theme with mermaid and plantuml, katex and vue components.
Stars: ✭ 57 (+338.46%)
Mutual labels:  vuepress, vuepress-theme
vuepress-theme-minimalism
minimalism vuepress theme
Stars: ✭ 19 (+46.15%)
Mutual labels:  vuepress, vuepress-theme
VueDocs
A vuepress theme for v1.0
Stars: ✭ 8 (-38.46%)
Mutual labels:  vuepress, vuepress-theme
vuepress-theme-aurora
🔥Aurora是一款基于Vuepress2的博客主题,将本地Markdown文件解析成静态html页面,作为博客文章。搭配说说,时间轴,文章分类,评论,友情链接,相册,音乐播放器等特色功能,给您不一样的使用体验。
Stars: ✭ 225 (+1630.77%)
Mutual labels:  vuepress, vuepress-theme
vuepress-tools
A curated collection of Awesome vuepress themes and plugins
Stars: ✭ 37 (+184.62%)
Mutual labels:  vuepress, vuepress-theme
vuepress-theme-oneN
🎈 A vuepress theme for oneN
Stars: ✭ 53 (+307.69%)
Mutual labels:  vuepress, vuepress-theme
vuepress-theme-thindark
A dark theme for VuePress.
Stars: ✭ 26 (+100%)
Mutual labels:  vuepress, vuepress-theme
vuepress-theme-macgs
💫 A vuepress theme for easyhexo.com
Stars: ✭ 16 (+23.08%)
Mutual labels:  vuepress, vuepress-theme
vuepress-web-app
📝 采用 VuePress 构建的 Web 应用程序,支持 Pwa、Github Issues 评论、Prettier Markdown 等。
Stars: ✭ 67 (+415.38%)
Mutual labels:  vuepress
vuepress-plugin-run
vuepress 在线运行 Vue 单文件
Stars: ✭ 28 (+115.38%)
Mutual labels:  vuepress
vue-telescope-extensions
Browser extensions for Vue Telescope
Stars: ✭ 121 (+830.77%)
Mutual labels:  vuepress
vuepress-plugin-autometa
Auto meta tags plugin for VuePress 1.x
Stars: ✭ 40 (+207.69%)
Mutual labels:  vuepress
vuepress-homepage
📄 Elegant & friendly homepage (bio, tech portfolio, resume, doc...) template with Markdown and VuePress
Stars: ✭ 302 (+2223.08%)
Mutual labels:  vuepress

vuepress-theme-track

HOME POST

more screenshot

Live Demo

USAGE

$ yarn add vuepress-theme-track
# or
$ npm install vuepress-theme-track --save-dev

Configuration

In your docs/.vuepress/config.js file, It's to add this:

module.exports = {
  title: '前端周刊',
  description: '每周分享前端知识',
  base: '/blog/',
  head: [
    ['link', { rel: 'icon', href: 'favicon.ico' }]
  ],
  // use vuepress-theme-track
  theme: 'track',
  // local development
  port: 3000,
  // Google Analytics ID
  ga: '',
  // fuck IE
  evergreen: true,
  markdown: {
    // markdown-it-anchor 的选项
    anchor: { permalink: true },
    // markdown-it-toc 的选项
    toc: { includeLevel: [1, 2] },
    config: md => {
      md.use(require('markdown-it-task-lists')) // 一个 checkbox 的 TODO List 插件
        .use(require('markdown-it-imsize'), { autofill: true }) // 支持自定义 md 图片大小 ![](http://test.png =200x200)
    }
  },
  themeConfig: {
    footer: 'MIT Licensed | Copyright © 2018-present tommyshao',
    // github card
    // github account name
    github: 'tomieric',
    // logo
    logo: '/images/logo.png',
    // homepage logo
    logoInverse: '/images/logo-white.png',
    // It's show font color to post title
    accentColor: '#ac3e40',
    // pageSize
    per_page: 5,
    // date format
    date_format: 'yyyy-MM-dd',
    // Tag
    tags: true,
    // gitalk
    // https://github.com/Yubisaki/vuepress-theme-yubisaki#comment-system
    comment: {
      clientID: '',
      clientSecret: '',
      repo: 'https://github.com/tomieric/vuepress-theme-track.git',
      owner: 'tomieric',
      admin: ['tomieric'],
      perPage: 5,
      // id: 'comment',      // Ensure uniqueness and length less than 50
      distractionFreeMode: false  // Facebook-like distraction free mode
    },
    // navLinks
    nav: [
        { text: '首页', link: '/'}, // home
        { text: '周刊', link: '/weekly/'}, // blog
        { text: '分类', link: '/category/' }, // category
        { text: '标签', link: '/tag/' }, // tag
        { text: '关于我们', link: '/about' },
        { text: 'Track', link: '/track' }
    ],
    // page list home url
    pageRoot: '/weekly/',
    sidebar: 'auto',
    // show author in post article, Default: false
    // Team blog, show everyone in memenbers
    showAuthor: true
  }
}

Scripts

In your package.json file

# package.json
{
  "scripts": {
    "docs:dev": "vuepress dev docs",
    "docs:build": "vuepress build docs",
    "docs:deploy": "gh-pages -d ./vuepress/dist"
  }
}

CommandLine

we're support to the vp-track command,It's usually use to create a new post

$ npx vp-track --help
# -p post
# -d destination
$ npx vp-track -p test -d docs/weekly
> ✔ Create test succeeded!
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].