fes.js/docs/zh/README.md
2021-01-19 21:13:13 +08:00

61 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
home: true
title: 首页
heroImage: /hero.png
actions:
- text: 快速上手
link: /zh/guide/getting-started.html
type: primary
- text: 项目简介
link: /guide/
type: secondary
features:
- title: 简洁至上
details: 以 Markdown 为中心的项目结构,以最少的配置帮助你专注于写作。
- title: Vue 驱动
details: 享受 Vue 的开发体验,可以在 Markdown 中使用 Vue 组件,又可以使用 Vue 来开发自定义主题。
- title: 高性能
details: VuePress 会为每个页面预渲染生成静态的 HTML同时每个页面被加载的时候将作为 SPA 运行。
footer: MIT Licensed | Copyright © 2018-present Evan You
---
### 像数 1, 2, 3 一样容易
<CodeGroup>
<CodeGroupItem title="YARN" active>
```bash
# 在你的项目中安装
yarn add -D vuepress@next
# 新建一个 markdown 文件
echo '# Hello VuePress' > README.md
# 开始写作
yarn vuepress dev
# 构建静态文件
yarn vuepress build
```
</CodeGroupItem>
<CodeGroupItem title="NPM">
```bash
# 在你的项目中安装
npm install -D vuepress@next
# 新建一个 markdown 文件
echo '# Hello VuePress' > README.md
# 开始写作
npx vuepress dev
# 构建静态文件
npx vuepress build
```
</CodeGroupItem>
</CodeGroup>