Use this template if you want your extension to support licenses. It has support for licenses from Lemonsqueezy and Gumroad.
npx ChromeKit-Org/cli add-component license
npx ChromeKit-Org/cli add-component license-server
This will get the license component and license-server. Copy the license directory into your react project.
VITE_LICENSE_URL_DOMAIN=https://example.com
VITE_LICENSE_PROVIDER=lemon_squeezy
The provided license server is a nextjs app. If required you can re-create the same in any language/framework.