This webcomponent follows the open-wc recommendation.
npm i add-to-slack-button
This component is supposed to be used when you have an app that needs to generate an OAuth 2.0 dynamic install URL. The limitation of this package is that you will need to expose this URL to an endpoint (within your app or separate API?) in this form:
More info about OAuth in The OAuth Flow
If you want to use it for your website, you can also do the following:
<!-- Polyfills if needed -->
You can check the Add to Slack button on the sidebar of my blog: https://geodoo.work
For most of the tools, the configuration is in the
package.json to reduce the amount of files in your project.
If you customize the configuration a lot, you can consider moving them to individual files.
Local Demo with
To run a local development server that serves the basic demo located in