0.1.2 • Published 4 years ago
wanma-lib v0.1.2
Vue 3 + Typescript + Vite
EXP: 这是一个基于 Vue3 + Ts + Vite 开发的组件库测试包,目前还在更新中,暂不提供使用!!! 后续开源哦,即将提供以下功能:
Function
1.Iot 图标选择(含自定义主题选择)。 - IconFontHover
Use
import { IconFontHover } from 'wanma-lib'
import 'wanma-lib/dist/style.css'
<IconFontHover :active-color="'red'" @deliveryIconFront="deliveryIconFront" />
属性:activeColor 属性暂停使用
方法:deliveryIconFront,获取选中图标的 name 等。
2.百度地图/高德地图组件集成。 3.文件上传组件。 4.图像剪裁及压缩。 5.分页组件集成。 ...
Recommended IDE Setup
Type Support For .vue
Imports in TS
Since TypeScript cannot handle type information for .vue
imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in .vue
imports (for example to get props validation when using manual h(...)
calls), you can enable Volar's .vue
type support plugin by running Volar: Switch TS Plugin on/off
from VSCode command palette.