chore: edit README.md
This commit is contained in:
parent
c133439984
commit
71cae92082
10
README.en.md
10
README.en.md
@ -32,6 +32,16 @@ Use npm to install.
|
|||||||
```bash
|
```bash
|
||||||
npm i @layui/layui-vue
|
npm i @layui/layui-vue
|
||||||
```
|
```
|
||||||
|
Before using, you need to mount layui Vue to Vue and introduce index.css style file
|
||||||
|
|
||||||
|
```
|
||||||
|
import App from './App.vue'
|
||||||
|
import { createApp } from 'vue'
|
||||||
|
import layui from '@layui/layui-vue'
|
||||||
|
import '@layui/layui-vue/lib/index.css'
|
||||||
|
|
||||||
|
createApp(App).use(layui).mount('#app')
|
||||||
|
```
|
||||||
|
|
||||||
We have several examples on the [website](http://layui-vue.pearadmin.com). Here is the first one to get you started:
|
We have several examples on the [website](http://layui-vue.pearadmin.com). Here is the first one to get you started:
|
||||||
|
|
||||||
|
10
README.md
10
README.md
@ -32,6 +32,16 @@ Use npm to install.
|
|||||||
```bash
|
```bash
|
||||||
npm i @layui/layui-vue
|
npm i @layui/layui-vue
|
||||||
```
|
```
|
||||||
|
Before using, you need to mount layui Vue to Vue and introduce index.css style file
|
||||||
|
|
||||||
|
```
|
||||||
|
import App from './App.vue'
|
||||||
|
import { createApp } from 'vue'
|
||||||
|
import layui from '@layui/layui-vue'
|
||||||
|
import '@layui/layui-vue/lib/index.css'
|
||||||
|
|
||||||
|
createApp(App).use(layui).mount('#app')
|
||||||
|
```
|
||||||
|
|
||||||
We have several examples on the [website](http://layui-vue.pearadmin.com). Here is the first one to get you started:
|
We have several examples on the [website](http://layui-vue.pearadmin.com). Here is the first one to get you started:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user