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

Vue.js初心者がelectron-vueでデスクトップ アプリケーションを作成した話

SAW
May 22, 2019

Vue.js初心者がelectron-vueでデスクトップ アプリケーションを作成した話

v_kansai meetup #6 の発表資料です。

SAW

May 22, 2019
Tweet

More Decks by SAW

Other Decks in Programming

Transcript

  1. $(whoami) w ࢯ໊Ճ౻फҰ࿠ ࡀ   Ѫ஌ग़਎ɾେࡕࡏॅ  ϋϯυϧωʔϜ4"8 ‣

    ϗϥʔ͸ۤखͳͷͰɺөըl4"8zΛݟͨ͜ͱͳ͍  4/4ΞΧ΢ϯτ ‣ 5XJUUFS!B[VLJ@FBUFS ‣ (JU)VCB[VLJQFOHVJO w ॴଐגࣜձࣾ.4&/ ೥໨ 2 Let’s play a game. FreeBSD macOS Vue.js Linux
  2. .BOQBHFPG4"8 w export EDITOR=vim w 04NBD04 6CVOUV-JOVY 'SFF#4%  ֶੜ࣌୅͸6/*9-JOVY؀ڥ͕ϝΠϯ

    ‣ γΣϧ͸ओʹCBTI  ࢓ࣄͷ։ൃ؀ڥ͸8JOEPXT w ϓϩάϥϛϯάݴޠ1FSM 1)1 +BWB4DSJQU  ϑϨʔϜϫʔΫ͸-BSBWFMͱ7VFKT 3
  3. ผͷํ๏͕͋ͬͨͷͰ͸ w ϩέʔϧΛ೔ຊޠʹઃఆ͢Ε͹ྑ͍ͷͰ͸   ׶͑ͯӳޠʹ͍ͯ͠Δ͔Βม͑ͨ͘ͳ͍ w /VNCFST΍-JCSF0⒏DFͱ͔୅༻ͨ͠Β͍͔Μͷ͔  

    Θ͟Θ͟5"ͷͨΊ͚ͩʹσϑΥϧτͷจࣈίʔυΛม͑ͨ͘ͳ͍  Θ͟Θ͟5"ͷͨΊ͚ͩʹ-JCSF0⒏DFͱ͔ೖΕΔͷ໘౗͍͘͞ 8
  4. $47ϑΝΠϧͷΦʔϓϯ w ϝΠϯϓϩηε  બ୒͞ΕͨϑΝΠϧͷ಺༰Λऔಘ ‣ fsϞδϡʔϧͷreadFileSync()Λར༻  *1$௨৴Ͱ7VFʹϑΝΠϧͷத਎ΛૹΔ w

    Ϩϯμϥʔϓϩηε  $47ͷςΩετ͔Βσʔλߏ଄ʹม׵ͯ͠ಡΈࠐΈ ‣ QBQBQBSTFͷparse()ϝιουͰ$47Λ഑ྻʹύʔε ‣ )BOETPOUBCMFͷloadData()ϝιουͰ഑ྻΛςʔϒϧʹׂΓ౰ͯ 13
  5. ϝΠϯϓϩηε  w &MFDUSPOͰόοΫΤϯυͷॲཧΛ࣮૷  ΢Οϯυ΢ͷૢ࡞ ΢Οϯυ΢ͷ࡞੒ɾΫϩʔζͳͲ   $47ϑΝΠϧͷΦʔϓϯ

     ςʔϒϧͷ಺༰Λ$47ϑΝΠϧʹอଘ ‣ &MFDUSPOͷ*1$௨৴ͱ/PEFKTͷfsϞδϡʔϧʹΑ࣮ͬͯݱ 17