vue-amazing-ui 2.2.0 → 2.2.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/README.zh-CN.md +11 -0
- package/dist/index.iife.js +29 -29
- package/dist/index.js +2461 -2436
- package/dist/index.umd.cjs +23 -23
- package/dist/style.css +1 -1
- package/es/alert/Alert.css +1 -1
- package/es/alert/Alert.vue.js +2 -2
- package/es/badge/Badge.css +1 -1
- package/es/badge/Badge.vue.js +3 -3
- package/es/checkbox/Checkbox.css +1 -1
- package/es/checkbox/Checkbox.vue.js +2 -2
- package/es/floatbutton/FloatButton.css +1 -1
- package/es/floatbutton/FloatButton.vue.js +1 -1
- package/es/image/Image.css +1 -1
- package/es/image/Image.vue.js +1 -1
- package/es/index.d.ts +2 -2
- package/es/index.js +2 -2
- package/es/inputnumber/InputNumber.css +1 -1
- package/es/inputnumber/InputNumber.vue.js +2 -2
- package/es/list/listitem/ListItem.css +1 -1
- package/es/list/listitem/ListItem.vue.js +2 -2
- package/es/message/Message.css +1 -1
- package/es/message/Message.vue.js +2 -2
- package/es/modal/Modal.css +1 -1
- package/es/modal/Modal.vue.js +2 -2
- package/es/notification/Notification.css +1 -1
- package/es/notification/Notification.vue.js +2 -2
- package/es/pagination/Pagination.css +1 -1
- package/es/pagination/Pagination.vue.js +1 -1
- package/es/popconfirm/Popconfirm.css +1 -1
- package/es/popconfirm/Popconfirm.vue.js +2 -2
- package/es/progress/Progress.css +1 -1
- package/es/progress/Progress.vue.js +2 -2
- package/es/radio/Radio.css +1 -1
- package/es/radio/Radio.vue.js +2 -2
- package/es/result/Result.css +1 -1
- package/es/result/Result.vue.js +2 -2
- package/es/result/Result.vue2.js +41 -41
- package/es/steps/Steps.css +1 -1
- package/es/steps/Steps.vue.js +2 -2
- package/es/swiper/Swiper.css +1 -1
- package/es/swiper/Swiper.vue.js +2 -2
- package/es/switch/Switch.css +1 -1
- package/es/switch/Switch.vue.js +2 -2
- package/es/tabs/Tabs.css +1 -1
- package/es/tabs/Tabs.vue.js +1 -1
- package/es/tag/Tag.css +1 -1
- package/es/tag/Tag.vue.js +2 -2
- package/es/upload/Upload.css +1 -1
- package/es/upload/Upload.vue.js +2 -2
- package/es/utils/resolver.js +131 -0
- package/lib/alert/Alert.css +1 -1
- package/lib/alert/Alert.vue.cjs +1 -1
- package/lib/badge/Badge.css +1 -1
- package/lib/badge/Badge.vue.cjs +1 -1
- package/lib/checkbox/Checkbox.css +1 -1
- package/lib/checkbox/Checkbox.vue.cjs +1 -1
- package/lib/floatbutton/FloatButton.css +1 -1
- package/lib/floatbutton/FloatButton.vue.cjs +1 -1
- package/lib/image/Image.css +1 -1
- package/lib/image/Image.vue.cjs +1 -1
- package/lib/index.cjs +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/inputnumber/InputNumber.css +1 -1
- package/lib/inputnumber/InputNumber.vue.cjs +1 -1
- package/lib/list/listitem/ListItem.css +1 -1
- package/lib/list/listitem/ListItem.vue.cjs +1 -1
- package/lib/message/Message.css +1 -1
- package/lib/message/Message.vue.cjs +1 -1
- package/lib/modal/Modal.css +1 -1
- package/lib/modal/Modal.vue.cjs +1 -1
- package/lib/notification/Notification.css +1 -1
- package/lib/notification/Notification.vue.cjs +1 -1
- package/lib/pagination/Pagination.css +1 -1
- package/lib/pagination/Pagination.vue.cjs +1 -1
- package/lib/popconfirm/Popconfirm.css +1 -1
- package/lib/popconfirm/Popconfirm.vue.cjs +1 -1
- package/lib/progress/Progress.css +1 -1
- package/lib/progress/Progress.vue.cjs +1 -1
- package/lib/radio/Radio.css +1 -1
- package/lib/radio/Radio.vue.cjs +1 -1
- package/lib/result/Result.css +1 -1
- package/lib/result/Result.vue.cjs +1 -1
- package/lib/result/Result.vue2.cjs +1 -1
- package/lib/steps/Steps.css +1 -1
- package/lib/steps/Steps.vue.cjs +1 -1
- package/lib/swiper/Swiper.css +1 -1
- package/lib/swiper/Swiper.vue.cjs +1 -1
- package/lib/switch/Switch.css +1 -1
- package/lib/switch/Switch.vue.cjs +1 -1
- package/lib/tabs/Tabs.css +1 -1
- package/lib/tabs/Tabs.vue.cjs +1 -1
- package/lib/tag/Tag.css +1 -1
- package/lib/tag/Tag.vue.cjs +1 -1
- package/lib/upload/Upload.css +1 -1
- package/lib/upload/Upload.vue.cjs +1 -1
- package/lib/utils/resolver.cjs +1 -0
- package/package.json +2 -2
- package/es/utils/resolvers.js +0 -106
- package/lib/utils/resolvers.cjs +0 -1
- /package/es/{less → style}/global.css +0 -0
- /package/es/utils/{resolvers.d.ts → resolver.d.ts} +0 -0
- /package/lib/{less → style}/global.css +0 -0
- /package/lib/utils/{resolvers.d.ts → resolver.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -84,6 +84,17 @@ import 'vue-amazing-ui/es/tag/Tag.css'
|
|
|
84
84
|
</template>
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
+
**Both Global Partial Registration and Local Registration require manually importing the global default styles of the component library (Automatic On-Demand Import is recommended).**
|
|
88
|
+
|
|
89
|
+
```ts
|
|
90
|
+
import { createApp } from 'vue'
|
|
91
|
+
import App from './App.vue'
|
|
92
|
+
import 'vue-amazing-ui/es/style/global.css' // 引入全局默认样式
|
|
93
|
+
|
|
94
|
+
const app = createApp(App)
|
|
95
|
+
app.mount('#app')
|
|
96
|
+
```
|
|
97
|
+
|
|
87
98
|
**Automatic On-Demand Import (Strongly Recommended)**
|
|
88
99
|
|
|
89
100
|
Use the [`unplugin-vue-components`](https://github.com/unplugin/unplugin-vue-components) plugin to automatically import components on demand. The plugin will automatically parse the components used in the template and import the components and styles.
|
package/README.zh-CN.md
CHANGED
|
@@ -84,6 +84,17 @@ import 'vue-amazing-ui/es/tag/Tag.css'
|
|
|
84
84
|
</template>
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
+
**全局部分注册和局部注册组件,都需手动引入组件库全局默认样式(推荐使用自动按需引入)**
|
|
88
|
+
|
|
89
|
+
```ts
|
|
90
|
+
import { createApp } from 'vue'
|
|
91
|
+
import App from './App.vue'
|
|
92
|
+
import 'vue-amazing-ui/es/style/global.css' // 引入全局默认样式
|
|
93
|
+
|
|
94
|
+
const app = createApp(App)
|
|
95
|
+
app.mount('#app')
|
|
96
|
+
```
|
|
97
|
+
|
|
87
98
|
**自动按需引入(强烈推荐)**
|
|
88
99
|
|
|
89
100
|
使用 [`unplugin-vue-components`](https://github.com/unplugin/unplugin-vue-components) 插件来按需自动加载组件,插件会自动解析模板中的使用到的组件,并导入组件和样式
|