style(prettier): reset code style with prettier
This commit is contained in:
39
README.md
39
README.md
@@ -1,4 +1,3 @@
|
||||
|
||||
<p align="center">
|
||||
<a href="http://www.layui.com">
|
||||
<img src="https://sentsin.gitee.io/res/images/layui/layui.png" alt="layui" width="360">
|
||||
@@ -26,7 +25,6 @@
|
||||
|
||||
Vue 3.0 的 桌 面 端 组 件 库 , Layui 的 另 一 种 呈 现 方 式
|
||||
|
||||
|
||||
## 快速上手 : Beta
|
||||
|
||||
获得 layui-vue 你只需要使用 npm 引入下述文件:
|
||||
@@ -43,31 +41,28 @@ import Layui from '@layui/layui-vue'
|
||||
import '@layui/layui-vue/lib/layui.css'
|
||||
import App from './App.vue'
|
||||
|
||||
createApp(App)
|
||||
.use(Layui)
|
||||
.mount('#app')
|
||||
|
||||
createApp(App).use(Layui).mount('#app')
|
||||
```
|
||||
|
||||
这是一个基本的入门页面:
|
||||
|
||||
```html
|
||||
<template>
|
||||
<lay-layout>
|
||||
<lay-header>
|
||||
<lay-logo>Layui Admin</lay-logo>
|
||||
</lay-header>
|
||||
<lay-side></lay-side>
|
||||
<lay-body>
|
||||
<router-view></router-view>
|
||||
</lay-body>
|
||||
<lay-footer>pearadmin.com</lay-footer>
|
||||
</lay-layout>
|
||||
<lay-layout>
|
||||
<lay-header>
|
||||
<lay-logo>Layui Admin</lay-logo>
|
||||
</lay-header>
|
||||
<lay-side></lay-side>
|
||||
<lay-body>
|
||||
<router-view></router-view>
|
||||
</lay-body>
|
||||
<lay-footer>pearadmin.com</lay-footer>
|
||||
</lay-layout>
|
||||
</template>
|
||||
|
||||
```
|
||||
|
||||
## [阅读文档](http://layui-vue.pearadmin.com/)
|
||||
|
||||
从现在开始,尽情地拥抱 layui 吧!但愿她能成为你长远的开发伴侣,化作你方寸屏幕前的亿万字节!
|
||||
|
||||
## 使用趋势
|
||||
@@ -75,14 +70,16 @@ createApp(App)
|
||||
[](https://giteye.net/chart/5ZQ67WWS)
|
||||
|
||||
## 贡献者
|
||||
> 大概是因为 layui - vue 让开发者变得更懒,所以贡献者才这么少?
|
||||
|
||||
> 大概是因为 layui - vue 让开发者变得更懒,所以贡献者才这么少?
|
||||
> 好的,姑且就这样认为吧。
|
||||
|
||||
|
||||
[](https://giteye.net/chart/DBC9Z6HQ)
|
||||
|
||||
## 交流群
|
||||
|
||||

|
||||

|
||||
|
||||
## 相关
|
||||
[官网](http://layui-vue.pearadmin.com/)、[更新日志](http://layui-vue.pearadmin.com/zh-CN/guide/changelog)、[交流群](https://jq.qq.com/?_wv=1027&k=ffiUQgnE)
|
||||
|
||||
[官网](http://layui-vue.pearadmin.com/)、[更新日志](http://layui-vue.pearadmin.com/zh-CN/guide/changelog)、[交流群](https://jq.qq.com/?_wv=1027&k=ffiUQgnE)
|
||||
|
||||
Reference in New Issue
Block a user