Demo app for the LIFF Deep Dive event
- Create LIFF at LINE Developers Console
$ npx @line/create-liff-app@latest
- Input LIFF ID from ①
$ brew install mkcert
$ mkcert -install
$ mkcert -cert-file localhost.pem -key-file localhost-key.pem localhost
- Configure vite config file like:
{
plugins: [react()],
server: {
https: {
key: fs.readFileSync("./localhost-key.pem"),
cert: fs.readFileSync("./localhost.pem")
}
}