README.md 4.0 KB
Newer Older
E
Evan You 已提交
1
<p align="center">
E
Evan You 已提交
2
  <a href="https://vuepress.vuejs.org/" target="_blank">
3
    <img width="280" src="https://raw.githubusercontent.com/vuejs/vuepress/master/docs/.vuepress/public/hero.png" alt="logo">
E
Evan You 已提交
4
  </a>
E
Evan You 已提交
5 6
</p>

U
ULIVZ 已提交
7 8 9 10 11 12
<p align="center">
  <a href="https://npmcharts.com/compare/vuepress?minimal=true"><img src="https://img.shields.io/npm/dm/vuepress.svg" alt="Downloads"></a>
  <a href="https://www.npmjs.com/package/vuepress"><img src="https://img.shields.io/npm/v/vuepress.svg" alt="Version"></a>
  <a href="https://www.npmjs.com/package/vuepress"><img src="https://img.shields.io/npm/l/vuepress.svg" alt="License"></a>
</p>

U
ULIVZ 已提交
13 14 15 16 17 18
> This is the branch for `VuePress 1.0`.

## Status: alpha

Certain combinations of plugins may not work properly, and things may change or break until we reach beta phase. Do not use in production yet unless you are adventurous.

E
init  
Evan You 已提交
19 20 21
# VuePress

> Minimalistic docs generator with Vue component based layout system
E
Evan You 已提交
22

E
link  
Evan You 已提交
23
https://vuepress.vuejs.org/
E
Evan You 已提交
24 25 26

## Features

U
ULIVZ 已提交
27 28 29 30 31
**Built-in markdown extensions**

* [Table of Contents](https://vuepress.vuejs.org/guide/markdown.html#table-of-contents)
* [Custom Containers](https://vuepress.vuejs.org/guide/markdown.html#custom-containers)
* [Line Highlighting](https://vuepress.vuejs.org/guide/markdown.html#line-highlighting-in-code-blocks)
U
ULIVZ 已提交
32
* [Line Numbers](https://vuepress.vuejs.org/guide/markdown.html#line-numbers)
U
ULIVZ 已提交
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
* [Import Code Snippets](https://vuepress.vuejs.org/guide/markdown.html#import-code-snippets)

**Using Vue in Markdown**

* [Templating](https://vuepress.vuejs.org/guide/using-vue.html#templating)
* [Using Components](https://vuepress.vuejs.org/guide/using-vue.html#using-components)

**Vue-powered custom theme system**

* [Metadata](https://vuepress.vuejs.org/guide/custom-themes.html#site-and-page-metadata)
* [Content Excerpt](https://vuepress.vuejs.org/guide/custom-themes.html#content-excerpt)

**Default theme**

* Responsive layout
* [Optional Homepage](https://vuepress.vuejs.org/default-theme-config/#homepage)
* [Simple out-of-the-box header-based search](https://vuepress.vuejs.org/default-theme-config/#built-in-search)
* [Algolia Search](https://vuepress.vuejs.org/default-theme-config/#algolia-search)
* Customizable [navbar](https://vuepress.vuejs.org/default-theme-config/#navbar) and [sidebar](https://vuepress.vuejs.org/default-theme-config/#sidebar)
* [Auto-generated GitHub link and page edit links](https://vuepress.vuejs.org/default-theme-config/#git-repo-and-edit-links)
53 54
* [PWA: Popup UI to refresh contents](https://vuepress.vuejs.org/default-theme-config/#popup-ui-to-refresh-contents)
* [Last Updated](https://vuepress.vuejs.org/default-theme-config/#last-updated)
U
ULIVZ 已提交
55 56 57 58 59 60

**Miscellaneous**

* [Multi-Language Support](https://vuepress.vuejs.org/guide/i18n.html)
* [Service Worker](https://vuepress.vuejs.org/config/#serviceworker)
* [Google Analytics](https://vuepress.vuejs.org/config/#ga)
E
Evan You 已提交
61

U
ULIVZ 已提交
62 63 64 65
## Showcase

Websites built with VuePress:

U
ULIVZ 已提交
66
**Vue Ecosystem**
U
ULIVZ 已提交
67

U
ULIVZ 已提交
68 69 70
* [vue-cli](https://cli.vuejs.org/)
* [vuex](https://vuex.vuejs.org/)
* [vue-server-renderer](https://ssr.vuejs.org/)
U
ULIVZ 已提交
71
* [vue-router](https://router.vuejs.org/)
U
ULIVZ 已提交
72 73 74 75
* [vue-test-utils](https://vue-test-utils.vuejs.org/)
* [vue-loader](https://vue-loader.vuejs.org/)
* [vetur](https://vuejs.github.io/vetur/)
* [rollup-plugin-vue](https://rollup-plugin-vue.vuejs.org/)
U
ULIVZ 已提交
76

U
ULIVZ 已提交
77
**Community**
U
ULIVZ 已提交
78

U
ULIVZ 已提交
79 80
* [cr-vue](https://cr-vue.mio3io.com/)
* [vuesax](https://lusaxweb.github.io/vuesax/)
81
* [vuemeetups](https://vuemeetups.org)
U
ULIVZ 已提交
82

E
Evan You 已提交
83 84 85 86
## Todo Features

VuePress is still a work in progress. There are a few things that it currently does not support but are planned:

U
ULIVZ 已提交
87 88 89 90 91
- Migrate the old test.
- `@vuepress/plugin-test-utils`.
- `once` option for plugin options, which allows the same plugin only to be applied only once.
- `theme` name shortcut.
- `@vuepress/theme-blog`
E
Evan You 已提交
92 93 94

Contributions are welcome!

E
Evan You 已提交
95 96
## Development

U
ULIVZ 已提交
97 98
> Please make sure your version of Node.js is greater than 8.

E
Evan You 已提交
99
``` bash
100
yarn
U
ULIVZ 已提交
101 102
yarn dev  # serves VuePress' own docs with itself
yarn test # make sure your code change pass the test
E
Evan You 已提交
103 104
```

E
Evan You 已提交
105 106
## License

U
ULIVZ 已提交
107
[MIT](https://github.com/vuejs/vuepress/blob/master/LICENSE)