doc: installation

This commit is contained in:
07akioni 2019-06-28 19:00:00 +08:00
parent 5dede13ec9
commit 6fdfa5e593
2 changed files with 21 additions and 2 deletions

View File

@ -15,8 +15,12 @@
</div>
<div class="n-doc-section__text-content">
<a href="https://***REMOVED***/naive-ui">Code Repo(GitHub Enterprise)</a><br>
<a href="https://gist.github.com/brianclements/841ea7bffdb01346392c"> Git Commit Style(!important)</a><br>
<a href="https://github.com/angular/angular/commits/master">Git Commit Style Example</a>
<a href="https://gist.github.com/brianclements/841ea7bffdb01346392c">Git Commit Style(!important)</a><br>
<a href="https://github.com/angular/angular/commits/master">Git Commit Style Example</a><br>
<a
href="https://***REMOVED***/naive-ui"
target="_black"
>Installation</a>
</div>
</div>
</div>

15
doc/installation.md Normal file
View File

@ -0,0 +1,15 @@
## Prequesite
`Node.js`
## Installation
```
npm install --save-dev naive-ui
```
## Use Naive-UI in your project
Add following lines in your Vue app entry file
```
import naiveUi from 'naive-ui'
import 'naive-ui/dist/lib/index.css
Vue.use(naiveUi)
```
Then enjoy yourself.