Skip to content

bot08/gj-comments-widget

Repository files navigation

GJ comments widget

Usage

To use the GJ Comments Widget in your web application, follow these steps:

  1. Include the GJ Comments Widget script in your HTML file:
<script src="https://gj-comments-widget.netlify.app/"></script>
  1. 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>

More information

See Lit docs.

Contributors