Skip to content
On this page

快速上手

  1. 安装依赖
npm i -S @fesjs/traction-widget

  1. 按需引入
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>

详细组件说明请移步组件
详细函数说明请移步函数

Released under the MIT License.