mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-04-12 14:40:47 +08:00
doc: installation
This commit is contained in:
parent
5dede13ec9
commit
6fdfa5e593
@ -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
15
doc/installation.md
Normal 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.
|
Loading…
x
Reference in New Issue
Block a user