Skip to content

bigbigDreamer/PandaComment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐼PandaCommentComponent

Introduction

This is a Vue-based comment component, you are free to make a second transformation on it, become your stuff, and finally apply it to real projects. I call it the Panda Comment component.

How To Use?

npm i pandacomment

InTheTemplate

import {PandaComment} from 'pandacomment'

//In vue template

export default {
    components: {
        PandaComment
      }
}
<div>
<PandaComment :commentList = "[
   {
      username:'',
      content:'', 
      nowDate:'',//note ,if you publish comment , the component can record now time
   }
   ]" :logo="your avatarUrl"/>
</div>
//The commentList this prop is of type Array. Note that you must keep the field name consistent!

效果演示

alt

LICENSE

Copyright (c) 2019 Eric Wang

About

🐼PandaComment

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published