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
120
sacss110_pdf.pdf
redamoon
January 25, 2020
Tweet
Share
More Decks by redamoon
See All by redamoon
MTDDCMeetupTokyo_2023_LT.pdf
redamoon
0
150
Supabase + Nuxt3 の実装素振りで チャットアプリを作ってみた
redamoon
1
360
Movable Type を Headless CMS として活用した Jamstack開発手法
redamoon
0
170
Data APIを活用したWEBサイト構築手法
redamoon
1
68
Vue meet up sapporo Vue + Storybook導入について
redamoon
0
56
Movable Type 7を触ってみた
redamoon
0
230
HTML・CMSから考えるコンポーネント化について
redamoon
1
400
おれの使うさいきょうえでぃた
redamoon
0
200
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
36
6.8k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
BBQ
matthewcrist
89
9.8k
Facilitating Awesome Meetings
lara
55
6.5k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Optimizing for Happiness
mojombo
379
70k
Agile that works and the tools we love
rasmusluckow
329
21k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.8k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
570
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݄ԁʣ ແྉൣғ͕݄݅·Ͱ ଟগͷίϚϯυ͕ࣝඞཁ