✈️Usage
Commentable Model
Model that the comment belongs to.
Commenter Model
Model that the user belongs to.
Implement CommentableContract and import Commentable trait in commentable model.
Implement CommenterContract and import Commenter trait in commenter model.
Include styles in your layout.
To avoid CSS name conflicts, we recommend adding your styles to the end of the head tag.
Include scripts in your layout
To improve performance we recommend adding script at the end of the body tag.
Then simply include component in your blade file
You can omit the index part but make sure to include the double colon. Otherwise Laravel will search for the component in project instead of the package.
or you can use components separately,
Last updated