greatwall-ui
v1.0.6
Published
`npm i greatwall-ui`
Downloads
16
Readme
vue3组件库
使用
安装
npm i greatwall-ui
yarn add greatwall-ui
pnpm i greatwall-ui
在入口文件引入样式
import 'greatwall-ui/es/style.css';
全局注册组件
import { GreatButton } from 'greatwall-ui';
import { createApp } from 'vue'
import App from './App.vue'
createApp(App).use(GreatButton)
注册为局部组件
import { GreatButton } from 'greatwall-ui'
export default defineComponent({
components: { GreatButton },
setup() {}
})