提交 3bc83826 编写于 作者: E Evan You

more theming

上级 38e0538f
# VuePress
> Minimalistic docs generator with Vue component based layout system
## Quickstart
``` bash
# install globally
npm install -g vuepress
# create a markdown file
echo "# Hello VuePress!" > index.md
# start writing
vuepress dev .
# build
vuepress build .
```
## Inside an Existing Project
``` bash
# install as a dependency
npm install -D vuepress
# create a docs directory
mkdir docs
# create a markdown file
echo "# Hello VuePress!" > docs/index.md
# start writing
npx vuepress dev docs
```
Or, add some scripts to `package.json`:
``` json
{
"scripts": {
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs"
}
}
```
Then you can start writing with:
``` bash
npm run docs:dev
```
To generate static assets, run:
``` bash
npm run docs:build
```
By default the built files will be in `.vuepress/dist`. The files can be deployed to any static file server. See [Deployment Guide](./deploy.md) for guides on deploying to popular services.
# Setup
## Quickstart
``` bash
# install globally
npm install -g vuepress
# create a markdown file
echo "# Hello VuePress!" > index.md
# start writing
vuepress dev .
# build
vuepress build .
```
## Inside an Existing Project
``` bash
# install as a dependency
npm install -D vuepress
# create a docs directory
mkdir docs
# create a markdown file
echo "# Hello VuePress!" > docs/index.md
# start writing
npx vuepress dev docs
```
Or, add some scripts to `package.json`:
``` json
{
"scripts": {
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs"
}
}
```
Then you can start writing with:
``` bash
npm run docs:dev
```
To generate static assets, run:
``` bash
npm run docs:build
```
By default the built files will be in `.vuepress/dist`. The files can be deployed to any static file server. See [Deployment Guide](./deploy.md) for guides on deploying to popular services.
......@@ -6,6 +6,16 @@
font-size 16px
color #2c3e50
.markdown
max-width 800px
margin-left 300px
margin-bottom 30px
.nav
position fixed
margin 0
top 30px
blockquote
font-size 1.25em
color #999
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册