Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
sacss110_pdf.pdf
Search
redamoon
January 25, 2020
1
93
sacss110_pdf.pdf
redamoon
January 25, 2020
Tweet
Share
More Decks by redamoon
See All by redamoon
MTDDCMeetupTokyo_2023_LT.pdf
redamoon
0
110
Supabase + Nuxt3 の実装素振りで チャットアプリを作ってみた
redamoon
1
280
Movable Type を Headless CMS として活用した Jamstack開発手法
redamoon
0
140
Data APIを活用したWEBサイト構築手法
redamoon
1
52
Vue meet up sapporo Vue + Storybook導入について
redamoon
0
53
Movable Type 7を触ってみた
redamoon
0
210
HTML・CMSから考えるコンポーネント化について
redamoon
1
330
おれの使うさいきょうえでぃた
redamoon
0
170
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Why Our Code Smells
bkeepers
PRO
334
57k
Documentation Writing (for coders)
carmenintech
65
4.4k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
28
2k
Facilitating Awesome Meetings
lara
50
6.1k
A better future with KSS
kneath
238
17k
Site-Speed That Sticks
csswizardry
0
23
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Transcript
Nuxt.js + Netlify FromsͰ࢝ΊΔ αʔόϨεͳϑΥʔϜΛࢼͨ͠ SaCSS vol.110 2020.01.25 ()
# about me ϓϩϑΟʔϧ ؔޱ༐थɿ)".803,4 ϑϩϯτΤϯυΤϯδχΞ݉ԂδχΞʁ ͖ͳ$.4ɿ.PWBCMF5ZQFɾNJDSP$.4 4/4#MPH
5XJUUFSɿ!SFEBNPPO #MPHɿIUUQTSFEBNPPOOFU झຯ %:*ɾఉγΰτ͢Δ͜ͱʢݱࡏٳۀதͷԂδχΞʣ .Z.VTJD4*".4)"%& ϋογϡλάɿԂδχΞԂܳΤϯδχΞ
# js-workshop-sapporoʢએʣ ڈͷ݄͔Β݄ʙϲ݄ϖʔεͰ+4ͷษڧձΛ࢝Ί·ͨ͠ʂʂ +BWB4DSJQUͷجૅ͔ΒԠ༻·ͰΛ՝Λ௨ͯ͠ॻ͍͍ͯ͘ษڧձͰ͢ʂ ओ࠵ऀೋਓ+4ͦΜͳΘ͔ΒΜͱ͍͏͜ͱ͕͖͔͚ͬʂ IUUQTHJUIVCDPNKTXPSLTIPQTBQQPSPEPDVNFOU IUUQTKTXPSLTIPQTBQQPSPDPOOQBTTDPN JSWSP js workshop
sapporo ͱΓ͋͑ͣओ࠵ऀವΈձ͕͍ͨ͠ʢຊԻʣ
ḪΔ͜ͱɾɾɾ ੈ9)5.-ͷ࣌
लؙΤσΟλͰ9)5.-ͷ%0$5:1&҉هͯ͠ ॻ͚ΔΑ͏ʹͳͬͨ͠8FCܥͰब৬Ͱ͖Δͳʂ͑ʁ ʢ࣌ͷ৺ڥʣ
ͳΜͱ͔ब৬ɾɾɾ
ब৬ͨ͠ͷͷɾɾɾ ʮࠓͲ͖%SFBNXFBWFS͑ͳ͍ͱ͔͋Γ͑ͳ͍͔Βɻʯ ʮ5BCMFίʔσΟϯάͰϨΠΞτͰ͖ͯҰਓલɻʯ ʢઌഐ8FCσβΠφʔஊʣ
࣌ͷࣗ ઌഐσβΠφʔ
ʮ)5.-͚ͩ͡ΌϑΥʔϜͷ࣮Ͱ͖ͳ͍͔Βʯ ʢઌഐ8FCσβΠφʔஊʣ
$(*JTԿ αʔόαΠυJTԿʁ 1)1JTԿʁ ɻɻɻɻ
ຊಡΜͩΓɺ࣮ફͰάάͬͨΓͯ͠ Կͱͳ͘ཧղग़དྷ͕ͨɻɻɻ ݁ہɺϕʔεͰ࡞Δ͜ͱͰ͖ͳ͔ͬͨʢٽʣ
ͦͯ͠ɺ
༷ʑͳπʔϧͱ࿈ܞ͍͋͠αʔόϨεͳ࣌ɻ ୯७ͳ͓͍߹Θͤ)FBEMFTT$.4Ͱ)5.-ɾ$44ɾ+BWB4DSJQUͰ݁Ͱ͖Δʂ
αʔόαΠυΘ͔ΒΜԂδχΞͰϫϯνϟϯ͋Δʁʢসʣ
ͱ͍͏͜ͱͰ /VYUKT /FUMJGZ'PSNTͰϑΥʔϜΛͨΊͯ͠Έͨ
# Netilfyʹ͍ͭͯ Netilfyͱʁ ੩తͳαΠτΛߴͰఏڙͰ͖ΔαʔϏεͰ ͢ɻ ϑϩϯτΤϯυͷϏϧυɾσϓϩΠɾϗεςΟ ϯάΛߦ͏͜ͱ͕Ͱ͖ΔͨΊࣗͷαʔόอ ࣋ͤͣʹ8FCαΠτΛެ։͢Δ͜ͱ͕Ͱ͖· ͢ɻʢ(JUIVCͷΞΧϯτ͕͋Ε0,ʣ ༷ʑͳαʔϏεΛఏڙ͍ͯ͠·͢ɻ
ɾ/FUMJGZ'PSNT ɾ/FUMJGZ$.4 ɾ/FUMJGZ"OBMZUJDT ˡࠓճ͜ͷհ IUUQTXXXOFUMJGZDPN
# Nuxt.jsʹ͍ͭͯ Nuxt.jsͱʁ 7VFKTʹͱͮͨΞϓϦέʔγϣϯΛߏங͢ ΔͨΊͷϓϩάϨογϒϑϨʔϜϫʔΫʹͳ Γ·͢ɻ 7VFKTͷެࣜΨΠυϥΠϯʹԊͬͨΞʔΩς ΫνϟΛఏڙ͢ΔΑ͏ʹઃܭ͞Ε͓ͯΓɺ෦ తͳར༻͔Β੩తͳ-1ϖʔδ͔Βෳࡶͳ 8FCΞϓϦέʔγϣϯͷ࡞Ͱ͖·͢ɻ
IUUQTKBOVYUKTPSH
OQYDSFBUFOVYUBQQTBDTTOFUMJGZGPSNTOVYU PS ZBSODSFBUFOVYUBQQTBDTTOFUMJGZGPSNTOVYU # Nuxt.js ͷڥߏங ## create-nuxt-appͰڥߏஙʢ։ൃڥߏஙࡁΈෆཁʣ
# Netlify Formsͷઃఆ ## formλάʹdata-netlifyͷdataଐੑΛture͔netlifyଐੑͰOK <form :name="name" method="POST" data-netlify="true"> <slot
/> </form> ؆୯ʂʂʂ
αϯϓϧαΠτ http://bit.ly/30S3ppx https://github.com/redamoon/sacss-netlify-forms-nuxt
%FNP
# ·ͱΊ ## ϝϦοτ αʔόࣝɾαʔόαΠυݴޠෆཁͰϑΥʔϜ͕࡞ΕΔ (JUͷϦϙδτϦͰσϓϩΠ͢ΔͨΊίʔσΟϯάͷԆ্Ͱ࣮Մೳ ػೳతͳ੍ݶ͋Δ͕ɺσβΠϯͷ੍ݶͳ͠Ͱ࡞ΕΔ
8FCαΠτͷ͓͍߹Θͤʹ༗ޮతʢΠϕϯτͷΞϯέʔτʣ ## σϝϦοτ ࣗಈฦ৴ϝʔϧͳͲͳ͍ͨΊผͷπʔϧ࿈ܞ͕ඞཁ ϕʔγοΫೝূͳͲΫϩʔζυʹ͏߹՝͕ۚඞཁʢ1SP݄ԁʣ ແྉൣғ͕݄݅·Ͱ ଟগͷίϚϯυ͕ࣝඞཁ