-
这是一个基于 Vue3 / TypeScript / Scss 开发的UI库,涵盖了 Button、Switch ... 等常见 UI 组件。
-
预览地址:https://simple-ice.github.io/crisps-ui-website/index.html
在项目中,使用终端执行以下命令
npm install crisps-ui
或者
yarn add crisps-ui
import {Button, Tabs, Tab, Switch, Dialog. openDialog} from "crisps-ui";
//若发现样式不生效,可手动引入scss
import "crisps-ui/dist/lib/crisps.css";
<template>
<Button>按钮</Button>
</template>
<script>
import {Button, Tabs, Tab, Switch, Dialog. openDialog} from "crisps-ui";
export default {
components: {Button, Tabs, Tab, Switch, Dialog. openDialog}
}
</script>