uc-coffee-components
TypeScript icon, indicating that this package has built-in type declarations

0.4.8 • Public • Published

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);

/uc-coffee-components/

    Package Sidebar

    Install

    npm i uc-coffee-components

    Weekly Downloads

    45

    Version

    0.4.8

    License

    none

    Unpacked Size

    1.39 MB

    Total Files

    394

    Last publish

    Collaborators

    • guodada1234