@line/create-liff-app
Start developing LIFF application with a simple CLI command.
About
LIFF
LINE Front-end Framework (LIFF) is a platform for web apps provided by LY Corporation. The web apps running on this platform are called LIFF apps.
Do you want to know more about LIFF? Learn more
Templates
create-liff-app
provides JavaScript & TypeScript templates of LIFF application.
Available frameworks are: nextjs
nuxtjs
react
vue
svelte
vanilla
.
Getting Started
Create LIFF Channel
Before you run create-liff-app
, we recommend creating a LIFF Channel first. See the documentation.
Installation
Run npm command like:
npx @line/create-liff-app
To create a new app in a specific folder, you can send a name as an argument.
npx @line/create-liff-app my-app
Options
create-liff-app
comes with the following options:
- -t, --template <template> - A template to bootstrap the app with. (available templates: "vanilla", "react", "vue", "svelte", "nextjs", "nuxtjs")
- -l, --liffid <liff id> - Liff id. For more information, please visit https://developers.line.biz/ja/docs/liff/getting-started/
- --js, --javascript - Initialize as a JavaScript project
- --ts, --typescript - Initialize as a TypeScript project
- --npm, --use-npm - Bootstrap the app using npm
- --yarn, --use-yarn - Bootstrap the app using yarn
- -v, --version - output the version number
- -h, --help - display help for command
This project is licensed under the Apache license.
See LICENSE for more information.
Also, using LIFF means you agree to the LINE Developers Agreement.