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

JavaScriptで実装したVueJS プロジェクトをTypeScriptへ移行する話

53
May 27, 2019

JavaScriptで実装したVueJS プロジェクトをTypeScriptへ移行する話

Vue CLI 3 + JavaScript で作った VueJSプロジェクトを TypeScript へ移行して、ついでに Vuex Module もクラススタイルにして、バインドをデコレータで行った話です。

53

May 27, 2019
Tweet

More Decks by 53

Other Decks in Programming

Transcript

  1. : 

  2. Changes not staged for commit: (use "git add/rm <file>..." to

    update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: .eslintrc.js modified: package.json modified: src/App.vue deleted: src/main.js deleted: src/router/index.js deleted: src/store/foo.js deleted: src/store/index.js modified: src/views/Home.vue modified: yarn.lock Untracked files: (use "git add <file>..." to include in what will be committed) src/components/HelloWorld.vue src/main.ts src/router/index.ts src/shims-tsx.d.ts src/shims-vue.d.ts src/store/foo.ts src/store/index.ts tsconfig.json
  3. Changes not staged for commit: (use "git add/rm <file>..." to

    update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: .eslintrc.js modified: package.json modified: src/App.vue deleted: src/main.js deleted: src/router/index.js deleted: src/store/foo.js deleted: src/store/index.js modified: src/views/Home.vue modified: yarn.lock Untracked files: (use "git add <file>..." to include in what will be committed) src/components/HelloWorld.vue src/main.ts src/router/index.ts src/shims-tsx.d.ts src/shims-vue.d.ts src/store/foo.ts src/store/index.ts tsconfig.json
  4. Changes not staged for commit: (use "git add/rm <file>..." to

    update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: .eslintrc.js modified: package.json modified: src/App.vue deleted: src/main.js deleted: src/router/index.js deleted: src/store/foo.js deleted: src/store/index.js modified: src/views/Home.vue modified: yarn.lock Untracked files: (use "git add <file>..." to include in what will be committed) src/components/HelloWorld.vue src/main.ts src/router/index.ts src/shims-tsx.d.ts src/shims-vue.d.ts src/store/foo.ts src/store/index.ts tsconfig.json
  5. TSDTUPSFGPPUT FYQPSUEFGBVMU\ লུ NVUBUJPOT\ TFU5FYU TUBUFBOZ OFX5FYUTUSJOH \ TUBUFUFYUOFX5FYU ^

    ^  HFUUFST\ UFYU6QQFS TUBUFBOZ \ SFUVSOTUBUFUFYUUP6QQFS$BTF  ^ ^ ^
  6. Πϕϯτϋϯυϥʔʹܕఆٛ TSDDPNQPOFOUT8PSMEUTY লུ DIBOHF5FYU OFX5FYUTUSJOH WPJE\ UIJTUFYUOFX5FYU ^ SFOEFS I7VF$SFBUF&MFNFOU

    7VF7/PEF\ SFUVSO  EJW লུ JOQVU POJOQVU\ FBOZ UIJTDIBOHF5FYU FUBSHFUWBMVF ^ লུ