vue3-weui
v1.1.1
Published
## 安装
Downloads
3
Readme
vue3-weui
安装
npm install vue3-weui --save
或者
yarn add vue3-weui
使用
全局引入
import { createApp } from 'vue'
import App from './App.vue'
import weui from "vue3-weui" // 导入
import 'vue3-weui/dist/style.css' // 全局样式导入
const app = createApp(App);
app.use(weui)
app.mount('#app')
局部引入
<script setup>
import {weButton} from "vue3-weui";
</script>
<template>
<we-button type="primary">按钮</we-button>
</template>