vue3_component_ah
v1.4.0
Published
- yarn - yarn build - npm link => 创建npm软连接 - npm link vue3_component_ah => 使用npm软连接 - yarn dev
Downloads
4
Readme
how to test ?
- yarn
- yarn build
- npm link => 创建npm软连接
- npm link vue3_component_ah => 使用npm软连接
- yarn dev
how to use?
- 创建工程 vue3_component_ah_test
- 引入组件 yarn add vue3_component_ah
- 使用组件
// src/main.ts
import { createApp } from 'vue'
import App from './App.vue'
import FbUi from 'vue3_component_ah'
createApp(App).use(FbUi).mount('#app')
<!-- src/App.vue -->
<!-- 使用组件 FbButton -->
<script lang='ts' setup></script>
<template>
<FbButton></FbButton>
</template>