0.4.8 • Published 3 years ago
s-coffee-ui v0.4.8
Vue 3 + Typescript + Vite
This template should help get you started developing with Vue 3 and Typescript in Vite.
如何使用
$ npm i uc-coffee-components
如果你使用 ts
请禁用 Vetur vscode 中下载 voloar 并按需加载你想引入的组件,可以获得良好的代码提示,和每个属性对应的数据类型
- main.ts
import 'uc-coffee-components/lib/index.css';
import { CoffeeImage } from 'uc-coffee-components';
如果你使用 js
使用 Vutur, 可全局引入,也能活得良好的代码提示
- main.js
import 'uc-coffee-components/lib/index.css';
import CoffeeUI from 'uc-coffee-components';
app.use(CoffeeUI);
0.4.8
3 years ago