Appearance
快速上手 #
- 安装依赖
npm i -S @fesjs/traction-widget
- 按需引入
js
<script setup>
import { BTagsPanel } from '@fesjs/traction-widget'
</script>
# 在需要的地方使用组件
<template>
<BTagsPanel></BTagsPanel>
</template>
js
<script setup>
import { login } from '@fesjs/traction-widget'
</script>
# 在需要的地方使用函数
<scirpt setup>
import { onMounted } from 'vue';
onMounted(() => {
login()
});
</scirpt>