🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

vuepress-theme-minimalism

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuepress-theme-minimalism

theme for vuepress

latest
Source
npmnpm
Version
1.1.10
Version published
Weekly downloads
21
110%
Maintainers
1
Weekly downloads
 
Created
Source

vuepress-theme-minimalism

NPM

introduction

A minimalist vuepress theme, compatible with hexo YAML front matter syntax.

example:https://github.com/sogud/vuepress-theme-minimalism

preview:https://sogud.github.io

Quick Start

install

npm i -S vuepress-theme-minimalism
or
yarn add vuepress-theme-minimalism
  • Use theme in config.js.
module.exports = {
  theme: 'vuepress-theme-minimalism',
  base: '/',
  ...
}
  • new posts folder, article written in posts directory, as the topic is compiled based on the content under the posts folder. Note: Folder names are case-sensitive.

Directory Structure

.
├── docs
│   ├── .vuepress #vuepress configuration folder
│   ├── posts #Article Storage Folder
├── package.json
└── yarn.lock

write

Start writing a blog that is written in the correct format as follows.:

---
title: vuepress
tags:
  - vuepress
  - markdown
---

# vuepress-theme-minimalism

## introduction

A minimalist vuepress theme, compatible with hexo YAML front matter syntax.

Theme configuration

Theme color configuration

New styles folder in .vuepress directory, new palette.styl Configure css variables.

The following color configurations are currently supported.

$accentColor = #31837c
$textColor = #2c3e50
$nprogressColor = #399c9c

config.js configuration

module.exports = {
  base: "/",
  title: "sogud'blog",
  theme: "vuepress-theme-minimalism",
  themeConfig: {
    nav: [
      {
        text: "文档",
        link: "/list/"
      },
      {
        text: "标签",
        link: "/tag/"
      },
      {
        text: "Github",
        link: "https://github.com/sogud"
      }
    ]
    footer: {
      contact: "联系",
      links: [
        {
          text: "GitHub",
          link: 'https://github.com/sogud'
        },
        {
          text: "Twitter",
          link: ""
        }
      ]
    },
    comment: {
      service: "disqus",
      shortname: "1net-1"
    },
  },
  markdown: {
    // lineNumbers: true
  }
}

Keywords

vuepress-theme

FAQs

Package last updated on 06 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts