You can try it by open this LIFF URL https://liff.line.me/1656984897-84oW2nrm via LINE.
LIFF QR
*To use sendMessage function, it requires to open the liff in talk room:
The app itself is hosing in vercel: https://svelte-liff-demo.vercel.app/
Once you've created a project and installed dependencies with npm install (or pnpm install or yarn),
Create .env file in root folder (use Environment variables for Vercel, AWS Amplify, etc), add variables as below:
VITE_LIFF_ID=16XXXXXXX-84xXxxXx
start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
To create a production version of your app:
npm run build