This is an example app for using SparkLoop's widget script as package.
- Clone the repo
- Run
yarn install
- Sign up / Login to your SparkLoop account
- Go to settings page in your SparkLoop account and copy your campaign id
- open
esbuild.config.js
file and replaceREPLACE_CAMPAIGN_ID
with your campaign id - Run
yarn dev
- Open
http://localhost:8000
in your browser