Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Vue.js + TypeScriptで作るLIFF v2アプリ

Kazumasa Yamamoto
July 01, 2020
390

Vue.js + TypeScriptで作るLIFF v2アプリ

Kazumasa Yamamoto

July 01, 2020
Tweet

Transcript

  1. LIFFアプリを初期化する @Component export default class App extends Vue { @Prop({

    type: Boolean, default: false }) loggedIn = false; created() { liff.init({ liffId: 'ここにLIFF IDを⼊れる' }) .then(() => { this.loggedIn = liff.isLoggedIn(); }) } }