zhigong-plug
v1.0.10
Published
业务中台插件库
Downloads
5
Readme
使用手册
引入依赖
npm install zhigong-plug 或 yarn zhigong-plug
入口文件引入样式
main.js
import 'zhigong-plug/assets/zhigong-plug.css'
文件中引入
vue3
<template>
<div id="comment"></div>
</template>
<script setup>
import {plugComment} from 'zhigong-plug'
import { onMounted } from 'vue'
onMounted(() => {
plugComment({el: '#comment', id: '1655523459926740993',evn: 'test', userInfo: {token: '7a77d632e27df6ff3ea8a4c4f3f53aec'}})
})
</script>