Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
フロントよわよわエンジニアがVue.js触ってみた
Search
mutao
October 29, 2021
Technology
22
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
フロントよわよわエンジニアがVue.js触ってみた
mutao
October 29, 2021
Transcript
16 slides
ϑϩϯτΑΘΑΘΤϯδχΞ ͕Vue.jsΛ৮ͬͯΈͨ
Agenda ▰ Introductio n ▰ ϑϩϯτॳֶऀͱͯ͠ ▰ ࡞ͬͨͷͷհ ▰ Vue.jsͬͯΈͯ
▰ ࠓޙͬͯΈ͍ͨ͜ͱ ▰ ͓·͚ 2
Introduction ▰ Mutao (@mutao_net ) ▰ αʔόʔαΠυΤϯδχΞ ▰ ϑϩϯτΑΘΑΘΤϯδχΞ ▰
Java/Perl/Golan g ▰ झຯͰPHPͱVue.js৮ͬͯ·͢ɻ ׂͱงғؾͰͬͯ·͢Թ͔͍Ͱ͝ཡ͍ͩ͘͞ 3
ϑϩϯτॳֶऀͱͯ͠ ▰ ϑϩϯτΤϯυϊʔλονͰ͖ͨ ▰ ࢼ͠ʹͬͯΈΔ͔ͱ;ͱࢥ͏ɻ ▰ ΔͳΒɺΠέͯΔΞϓϦ͕࡞Γ͔ͨͬͨ ▰ ࠓΛͱ͖Ί͘Vue.jsΛֶशͯ͠ΈΔ͜ͱʹ ▰
·ͣγϯϓϧͳΞϓϦέʔγϣϯ࡞ʂ 4
࡞ͬͨͷ Cocktai l https://mutao-cocktail.herokuapp.com/ 5
6
Vue.jsͬͯΈͯ ࡶײ ͏ͪΐͬͱৄ͘͠ 7
ࡶײ ▰ ͳΜ͔దʹͬͯͨΒͰ͖ͨ ▰ ϑϩϯτॳֶऀʹ༏͍͠ˍ͓͠ΌΕ ▰ ίϯϙʔωϯτϥΠϒϥϦͷଘࡏ ▰ Element-ui,Bulm a
▰ ϨεϙϯγϒରԠͷBulma͕͓͢͢Ί ▰ σόοά͍͢͠ ▰ Vue.js devtoo l ▰ దͳAPIΛݟ͚͙ͭͯ͢ʹ։ൃͰ͖Δ 8
͏ͪΐͬͱৄ͘͠ ▰ Vue-cli(webpack)ͷଘࡏ ▰ ܗ࡞πʔϧ ▰ ෦తʹcli-serviceͱ͍͏ϥΠϒϥϦΛͬͯΔ ▰ webpackΛϥοϓ͍ͯ͠Δ ▰
vue-loader͕vueίϯϙʔωϯτΛJavaScriptʹม͢Δ ▰ ։ൃ࣌ͷϗοτϦϩʔυΛఏڙͯ͠Δͷvue-loader 9
͏ͪΐͬͱৄ͘͠ (٧·ͬͨͱ͜Ζ) ▰ Mounted ͱ create d ▰ APIΞΫηε࣌ʹͲͪΒͷϥΠϑαΠΫϧϑοΫΛ͏͔໎ͬͨ ▰
ཁDOMߏங͕͍ྃͯ͠Δ͔Ͳ͏͔ͷҧ͍ͩͬͨ ▰ σʔλΛऔಘ͢Δ͚ͩͳΒcreated͕ૣ͍ ▰ DOMͷૢ࡞ͳͲ͕ඞཁͳ߹mountedͰΔ ▰ jQueryͷॲཧ͕Ҿ͖ͣͬͯΔ࣌ͱ͔ 10
ͬͯΈ͍ͨ͜ͱ 11 Laravu e Nuxt.j s vue.ts
LaraVue ▰ LaraVue(Laravel + Vue.js ) ▰ LaravelͷެࣜυΩϡϝϯτʹVueΛ ಋೖ͢Δखॱ͕ॻ͔ΕͯΔ ▰
ษڧձ͋ΔΈ͍ͨ ▰ LaraVueษڧձ 12
Nuxt.js ▰ VueͷϑϨʔϜϫʔΫ ▰ αʔόʔαΠυϨϯμϦϯάରԠ ▰ Ұॠνϥͬͱ͢Δͷʹ݁ߏΠϥΠϥ͞ ͤΒΕͨ ▰ ৴ઃఆͳͲ͕͋ΓɺखΛग़͢ͷʹԯ
߷ʹͳͬͯΔɻ 13
Vue.ts ▰ ECMAͷ··Ͱॻ͔͘TypeScriptͰ ॻ͔͘Ή࣌ऴΘͬͨʢΒ͍͠ʣ ▰ ͦΖͦΖTypeScriptΛษڧ͠ͳ͍ͱ ·͍͔ͣͳ͊ͱ͍͏ҙࣝ 14
͓·͚ ▰ 10000छྨҎ্ͷAPIʹΞΫηεͰ͖Δ 15 ▰ ΈΜͳେ͖Lin e ▰ ͙͢ʹLineBotΛ࡞ΕͪΌ͏ Line
Messaging API
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠
More Decks by mutao
See All by mutao
どめいんのおはなし
mutao
0
40
Other Decks in Technology
See All in Technology
「個社」ではなく「業界」の課題を解く AI 対話開発 ー 価値を広げる設計と、価値を守るエンジニアリング ー
ivry_presentationmaterials
3
250
人の努力に頼らないセキュリティをエンジニアリングする在り方 / An approach to engineering security that does not rely on human effort
carta_engineering
0
180
Gov-JAWS#9 統合監視機能のマネージドサービス化+AIによる障害時自動調査
fj_yoshimura_kosuke
0
190
3文字略語に騙されない! 世界一わかりやすい『EDR』超入門
kamadamakoto
1
240
閉域網でのAPI公開の選択肢全部比較!
takano0131
2
430
あの日、見つかっていなかったらどうなっていたか
kazzpapa3
2
240
AI対話型分析を作成し、リリースするまでの話 / The Road to Release: Buiding AI Conversational Analytics
yappli_developers
0
160
Kiro 入門 (1 つのエージェントを、どの画面からでも) | 目指せ Kiro マスター 01
inariku
PRO
6
2k
MCPでネットワーク障害調査を自動化する前に直すべき3つのこと
yama3133
0
510
Re:ゼロから始めるシェアハウスのペットな鯖
silmin_
0
230
AWS Emulator を評価する: 手元で動く AWS の API の仕組み、始め方、確かめ方
inariku
PRO
1
740
Context != Context: One window, many lifecycles (AI Native DevCon, Nov 2026)
birgitta410
0
160
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
380
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
The Language of Interfaces
destraynor
162
27k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
610
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
340
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
[SF Ruby Conf 2025] Rails X
palkan
3
1.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
400
The Curse of the Amulet
leimatthew05
4
17k