Skip to content

快速开始

安装

bash
npm install vee-tiny

使用

main.ts 引入 "vee-tiny/style.css" 样式

ts
// main.ts
import { createApp } from "vue";
import "vee-tiny/style.css";

import App from "./App.vue";

const app = createApp(App);

app.mount("#app");

按需引入

vue
<script lang="ts">
import { VeeButton } from 'vee-tiny';
</script>

<template>
    <VeeButton> 按钮 </VeeButton>
</template>