To use the GJ Comments Widget in your web application, follow these steps:
- Include the GJ Comments Widget script in your HTML file:
<script src="https://gj-comments-widget.netlify.app/"></script>- Add the
<gj-comments-widget>tag to your HTML file with the desired configuration attributes:
<!-- Example 1: Using default baseURL -->
<gj-comments-widget branch="furina"></gj-comments-widget>
<!-- Example 2: Specifying a custom baseURL -->
<gj-comments-widget branch="diona" baseURL="api.genshin-journey.website/.netlify/functions/index"></gj-comments-widget>See Lit docs.