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

U
ULIVZ 已提交
7 8 9
<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>
U
ULIVZ 已提交
10
  <a href="https://www.npmjs.com/package/vuepress"><img src="https://badgen.net/npm/v/vuepress/next" alt="npm next version"></a>
U
ULIVZ 已提交
11 12 13
  <a href="https://www.npmjs.com/package/vuepress"><img src="https://img.shields.io/npm/l/vuepress.svg" alt="License"></a>
</p>

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

## 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.

U
ULIVZ 已提交
20 21
For 0.x, it's moved to [0.x branch](https://github.com/vuejs/vuepress/tree/0.x) and still maintained.

E
init  
Evan You 已提交
22 23 24
# VuePress

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

E
link  
Evan You 已提交
26
https://vuepress.vuejs.org/
E
Evan You 已提交
27 28 29

## Features

U
ULIVZ 已提交
30 31 32 33 34
**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 已提交
35
* [Line Numbers](https://vuepress.vuejs.org/guide/markdown.html#line-numbers)
U
ULIVZ 已提交
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
* [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)
56 57
* [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 已提交
58 59 60 61 62 63

**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 已提交
64

U
ULIVZ 已提交
65 66 67 68
## Showcase

Websites built with VuePress:

U
ULIVZ 已提交
69
**Vue Ecosystem**
U
ULIVZ 已提交
70

U
ULIVZ 已提交
71 72 73
* [vue-cli](https://cli.vuejs.org/)
* [vuex](https://vuex.vuejs.org/)
* [vue-server-renderer](https://ssr.vuejs.org/)
U
ULIVZ 已提交
74
* [vue-router](https://router.vuejs.org/)
U
ULIVZ 已提交
75 76 77 78
* [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 已提交
79

U
ULIVZ 已提交
80
**Community**
U
ULIVZ 已提交
81

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

E
Evan You 已提交
86 87 88 89
## 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 已提交
90 91 92 93 94
- 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 已提交
95 96 97

Contributions are welcome!

E
Evan You 已提交
98 99
## Development

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

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

E
Evan You 已提交
108 109
## License

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