Select Use this template button and create a repo for your new project.
Then, clone the repo to your local workspace.
Set https://localhost:9443/ to endpoint URL.
refer: https://developers.line.biz/ja/docs/liff/registering-liff-apps/
.env file includes LIFF ID is needed to run this app.
echo LIFF_ID=xxxxxxxxxx-yyyyyyyy > .envRun following commands to start dev server.
npm install
npm startAccess https://localhost:9443/ on your browser.
In Google Chrome, if you saw the warning like "Your connection is not private" NET::ERR_CERT_AUTHORITY_INVALID, click Advanced then click Proceed to localhost(unsafe). You may set Enabled to "Allow invalid certificates for resources loaded from localhost" on chrome:flags page.
In Firefox, if you saw the warning like "Warning: Potential Security Risk Ahead", click Advanced... then click Accept the Risk and Continue
npm run buildGenerates bundled codes in the dir /dist.
Build and deploy files in /dist to your favorite file hosting service.
Apache License 2.0