How to setup Superflow with Svelte.js
Enter the site URL you want Superflow to be installed in.
Choose NPM from the list of options to install Superflow with Svelte.js.
Copy the code from the section “Initialize Superflow”
Install the Superflow NPM package with:
+page.ts
Import the Superflow NPM package with:
+page.ts
Import initSuperflow
from the NPM package and use it to initialize Superflow.
Next, paste in the unique Superflow code you copied earlier before export const prerender = true
.
Deploy your Svelte app with your changes.
Verify your Superflow installation by clicking the Verify button on the onboarding flow.
If successful, you should be redirected to your published Svelte site and see the following success message:
Having trouble getting your verifying your installation? Here are the common mistakes users encounter when installing Superflow:
?review=true
at the end of your url?Now that you have verified that Superflow has been installed on your Svelte site, navigate to your published site and add ?review=true
at the end of the URL to enable Superflow.
Example: mywebsite.com/?review=true
You should now see a Superflow toolbar on the bottom right of you screen.
Try leaving a comment on your page.
You can leave a comment in several different ways:
You can also leave voice and screen recordings in your comments as well!
How to setup Superflow with Svelte.js
Enter the site URL you want Superflow to be installed in.
Choose NPM from the list of options to install Superflow with Svelte.js.
Copy the code from the section “Initialize Superflow”
Install the Superflow NPM package with:
+page.ts
Import the Superflow NPM package with:
+page.ts
Import initSuperflow
from the NPM package and use it to initialize Superflow.
Next, paste in the unique Superflow code you copied earlier before export const prerender = true
.
Deploy your Svelte app with your changes.
Verify your Superflow installation by clicking the Verify button on the onboarding flow.
If successful, you should be redirected to your published Svelte site and see the following success message:
Having trouble getting your verifying your installation? Here are the common mistakes users encounter when installing Superflow:
?review=true
at the end of your url?Now that you have verified that Superflow has been installed on your Svelte site, navigate to your published site and add ?review=true
at the end of the URL to enable Superflow.
Example: mywebsite.com/?review=true
You should now see a Superflow toolbar on the bottom right of you screen.
Try leaving a comment on your page.
You can leave a comment in several different ways:
You can also leave voice and screen recordings in your comments as well!