chore: remove unused deps, fix loading doc
This commit is contained in:
parent
5fa16efe79
commit
d64014f3b4
@ -30,7 +30,7 @@
|
||||
|
||||
| 名称 | 类型 | 默认值 | 描述 |
|
||||
| -- | -- | -- | -- |
|
||||
| `ui` | `string=` | `normal` `m` | [^ui] |
|
||||
| `ui` | `string=` | - | [^ui] |
|
||||
| `loading` | `boolean` | `false` | 是否处于加载状态。 |
|
||||
|
||||
^^^ui
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<article>
|
||||
<div>
|
||||
<section>
|
||||
Custom icon-star:
|
||||
<veui-loading
|
||||
loading
|
||||
@ -14,21 +14,21 @@
|
||||
</template>
|
||||
loading...
|
||||
</veui-loading>
|
||||
</div>
|
||||
<div>
|
||||
Custom icon-sun:
|
||||
</section>
|
||||
<section>
|
||||
Custom icon-sync:
|
||||
<veui-loading loading>
|
||||
<template #spinner>
|
||||
<veui-icon
|
||||
spin
|
||||
name="sun"
|
||||
name="sync"
|
||||
/>
|
||||
</template>
|
||||
loading...
|
||||
</veui-loading>
|
||||
</div>
|
||||
<div>
|
||||
Custom icon-umbrella:
|
||||
</section>
|
||||
<section>
|
||||
Custom icon-clockwise:
|
||||
<veui-loading
|
||||
loading
|
||||
ui="reverse"
|
||||
@ -37,20 +37,20 @@
|
||||
<template #spinner>
|
||||
<veui-icon
|
||||
spin
|
||||
name="umbrella"
|
||||
name="clockwise"
|
||||
/>
|
||||
</template>
|
||||
loading...
|
||||
</veui-loading>
|
||||
</div>
|
||||
</section>
|
||||
</article>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { Icon, Loading } from 'veui'
|
||||
import 'vue-awesome/icons/sun'
|
||||
import 'vue-awesome/icons/star'
|
||||
import 'vue-awesome/icons/umbrella'
|
||||
import 'veui-theme-dls-icons/sync'
|
||||
import 'veui-theme-dls-icons/star'
|
||||
import 'veui-theme-dls-icons/clockwise'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
@ -65,4 +65,8 @@ export default {
|
||||
background: #ccc;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.section {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
</style>
|
||||
|
@ -30,7 +30,7 @@ Using `spinner` slot to replace default loading icon.
|
||||
|
||||
| Name | Type | Default | Description |
|
||||
| -- | -- | -- | -- |
|
||||
| `ui` | `string=` | `normal` `m` | [^ui] |
|
||||
| `ui` | `string=` | - | [^ui] |
|
||||
| `loading` | `boolean` | `false` | Whether the component is in loading state. |
|
||||
|
||||
^^^ui
|
||||
|
1510
package-lock.json
generated
1510
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
26
package.json
26
package.json
@ -18,14 +18,8 @@
|
||||
"restart": "npm run stop && npm run serve"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-cli": "^6.26.0",
|
||||
"babel-eslint": "^7.2.3",
|
||||
"babel-plugin-lodash": "^3.3.4",
|
||||
"babel-plugin-transform-runtime": "^6.23.0",
|
||||
"babel-plugin-veui": "^2.0.0-beta.4",
|
||||
"babel-preset-env": "^1.7.0",
|
||||
"babel-preset-stage-2": "^6.24.1",
|
||||
"cheerio": "^1.0.0-rc.3",
|
||||
"babel-plugin-veui": "^2.0.0-beta.5",
|
||||
"eslint": "^5.15.1",
|
||||
"eslint-config-prettier": "^4.1.0",
|
||||
"eslint-config-standard": "^12.0.0",
|
||||
@ -57,7 +51,6 @@
|
||||
"puppeteer": "^2.1.1",
|
||||
"recursive-readdir": "^2.2.2",
|
||||
"recursive-readdir-sync": "^1.0.6",
|
||||
"reduce-css-calc": "^2.1.4",
|
||||
"rehype-raw": "^2.0.0",
|
||||
"rehype-stringify": "^3.0.0",
|
||||
"remark": "^8.0.0",
|
||||
@ -74,20 +67,19 @@
|
||||
"stylus-loader": "^3.0.2",
|
||||
"unist-util-remove": "^1.0.1",
|
||||
"unist-util-visit": "^1.4.0",
|
||||
"veui": "^2.0.0-beta.4",
|
||||
"veui-loader": "^2.0.0-beta.4",
|
||||
"veui-theme-dls": "^2.0.0-beta.4",
|
||||
"veui-theme-dls-icons": "^2.0.0-beta.4",
|
||||
"vue": "^2.6.11",
|
||||
"veui": "^2.0.0-beta.5",
|
||||
"veui-loader": "^2.0.0-beta.5",
|
||||
"veui-theme-dls": "^2.0.0-beta.5",
|
||||
"veui-theme-dls-icons": "^2.0.0-beta.5",
|
||||
"vue": "^2.6.12",
|
||||
"vue-awesome": "^4.1.0",
|
||||
"vue-directive-normalizer": "^0.1.0",
|
||||
"vue-i18n": "^8.16.0",
|
||||
"vue-server-renderer": "^2.6.11",
|
||||
"vue-template-compiler": "^2.6.11",
|
||||
"vue-server-renderer": "^2.6.12",
|
||||
"vue-template-compiler": "^2.6.12",
|
||||
"vue-windows": "^0.2.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"express": "^4.16.2",
|
||||
"forever": "^3.0.0"
|
||||
"forever": "^3.0.2"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user