@pkpm/pkpm-comment-panel

A Vue.js project

Usage no npm install needed!

<script type="module">
  import pkpmPkpmCommentPanel from 'https://cdn.skypack.dev/@pkpm/pkpm-comment-panel';
</script>

README

pkpm-comment-panel

pkpm-comment-panel

Build Setup

# install
npm install @pkpm/pkpm-comment-panel

# import
import PKPMCommentPanel from '@pkpm/pkpm-comment-panel/dist/comment-panel.js';
Vue.use(PKPMCommentPanel);


# use
# 在需要使用的页面中使用该组件即可
<PKPMCommentPanel
  :routerParams="routerParams"
  :obvApi="obvApi"
  :nodeIdArray="obvIds"
  :baseUrl="baseUrl"
  :userTokenInfo="userTokenInfo"
  :viewTitle="viewTitle"
  @closeCommentPanel="changeActive"
></PKPMCommentPanel>