0.0.0 • Published 1 year ago

pithy-ui2 v0.0.0

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Vue 3 + Vite

基于Vue3+Vite构建的PC组件库

使用方式

npm导入

npm install pithy-ui
main.js全局注册
import { createApp } from 'vue'
import App from './App.vue'
import pithyUi from 'pithy-ui'
const app=createApp(App);
app.use(pithyUi);
app.mount('#app');
页面部分导入
<template>
  <b-button type="primary">按钮</b-button>
</template>
<script setup>
import { bButton } from 'pithy-ui'
</script>

使用cdn

0.0.0

1 year ago