0.0.0 • Published 2 years ago
gears-ui v0.0.0
齿轮UI
这是一个基于 Vue3 / TypeScript / Scss 开发的UI库,涵盖了 Button、Switch ... 等常见 UI 组件。
使用方法
安装
在项目中,使用终端执行以下命令
npm install gear-ui
或者
yarn add gear-ui
引入
import {Button, Tabs, Tab, Switch, Dialog, BackTop, openDialog, copyDomText} from "gear-ui";
//若发现样式不生效,可手动引入scss
import "gear-ui/dist/lib/gear.css";
示例
<template>
<Button>按钮</Button>
</template>
<script>
import {Button, Tabs, Tab, Switch, Dialog, BackTop, openDialog, copyDomText} from "gear-ui";
export default {
components: {Button, Tabs, Tab, Switch, Dialog, BackTop}
}
</script>
0.0.0
2 years ago