PeterPH95 / docs

基于vuepress搭建个人站点

Home Page:https://peterph95.github.io/docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello VuePress

基于Vuepress搭建个人站点

Project setup

# 下载本地
git clone https://github.com/PeterPH95/docs.git
cd /docs

# 安装依赖
yarn

# 本地启动项目
yarn docs:dev

# 打包构建
yarn docs:build

# 部署到 github.io
yarn deploy

目录结构 VuePress官方

.
├── docs
│   ├── .vuepress (可选的)
│   │   ├── components (可选的)
│   │   ├── theme (可选的)
│   │   │   └── Layout.vue               // 主题布局,可自定义
│   │   ├── public (可选的)
│   │   ├── styles (可选的)
│   │   │   ├── index.styl
│   │   │   └── palette.styl
│   │   ├── templates (可选的, 谨慎配置)
│   │   │   ├── dev.html
│   │   │   └── ssr.html
│   │   ├── config.js (可选的)             // 配置文件
│   │   └── enhanceApp.js (可选的)
│   │ 
│   ├── README.md                         // 首页
│   ├── guide
│   │   └── README.md                     // 自己的markdone文件
│   └── config.md
│
├── deploy.sh                             // 部署到github.io的脚本文件
└── package.json

About

基于vuepress搭建个人站点

https://peterph95.github.io/docs/


Languages

Language:Shell 100.0%