0.1.2 • Published 3 years ago

azhida-xhy-components v0.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

基于 Vue3 的组件封装

使用

npm i --save ant-design-vue@next

npm install azhida-xhy-components --save

main.js 引入(全局引入)

import { createApp } from 'vue'
import App from './App.vue'
import router from './router/index'

// ant-design-vue 配置
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';

// 引入自己封装的npm库
import AzhidaXhyComponents from 'azhida-xhy-components';

const app = createApp(App)

app.use(router)
app.use(AzhidaXhyComponents)
app.mount('#app')

// 添加 Antd
app.use(Antd)

组件中使用

/src/App.vue

<template>
  <XhyLayout></XhyLayout>
  <router-view></router-view>
</template>

此时可以看待时间输出了

0.1.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago