Merge branch 'master' of https://gitee.com/layui-vue/layui-vue
This commit is contained in:
commit
989aa56af0
11
README.md
11
README.md
@ -39,13 +39,14 @@ npm install @layui/layui-vue
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
import { createApp } from 'vue'
|
import { createApp } from 'vue'
|
||||||
|
import Layui from '@layui/layui-vue'
|
||||||
|
import '@layui/layui-vue/lib/layui.css'
|
||||||
import App from './App.vue'
|
import App from './App.vue'
|
||||||
import Layui from 'layui-vue'
|
|
||||||
import 'layui-vue/lib/layui.css'
|
|
||||||
|
|
||||||
const app = createApp(App)
|
createApp(App)
|
||||||
app.use(Layui)
|
.use(Layui)
|
||||||
app.mount('#app')
|
.mount('#app')
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
这是一个基本的入门页面:
|
这是一个基本的入门页面:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user