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