- Static : https://clevertap-sdk-test.netlify.app/?region=eu1&accountId={accountID}&token={token}
- Reac SPA : https://clevertap-sdk-test.netlify.app/spa?region=eu1&accountId={accountID}&token={token}
- Static Pages
- Run
npx http-server staticPages -p 8080
in the root directory - Open
http://localhost:8080
in your browser - Test all the static pages
- Run
- SPA
- Run
npm run dev
in the root directory - Open
http://localhost:5173/spa
in your browser - Test different Use cases from /usecases route
- Run
- Fork this repo
- Go to Netlify and create a new site
- Connect your GitHub account
- Select the forked repo
- Select the branch you want to deploy
- Click on Deploy
- Wait for the deployment to complete
- Go to the site URL and test
- Note all the staticPages would be directly available in the website due to the vite.config.js configuration
- The SPA App would be available at the /spa route
- /spa : SPA App
- /customWebInbox : Custom Web Inbox
- / : All Basic Events and Lifecycle
- / : Web Inbox