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
いまからはじめるnuxt-edge #nuxtmeetup
Search
potato4d(Takuma HANATANI)
May 15, 2018
Programming
1
8.4k
いまからはじめるnuxt-edge #nuxtmeetup
2018.05.15 Nuxt Meetup#2 @メルペイ にて発表した資料です
potato4d(Takuma HANATANI)
May 15, 2018
Tweet
Share
More Decks by potato4d(Takuma HANATANI)
See All by potato4d(Takuma HANATANI)
どうせキレイに書けない処理は逆にAIに書いてもらうほうが良い説 / #kyotojs 22
potato4d
3
390
TSX First な Zero-Runtime SSG potato4d/dodai とその仕組み / owned static site generator #kyotojs
potato4d
1
2.3k
Vue.js with TSX - From Vue 2.x to Vue 3 #v_tokyo11
potato4d
9
4.9k
終わりゆく Vue 2.x 時代の状態設計のアンサー - Vue 3 の Provider への期待 / The Last Architecture of the Vue 2.x
potato4d
25
6.9k
Web Worker を使ってブラウザ上でポケモンの画像を解析したい! / Pokemon recognition from screenshots in browser using web worker
potato4d
0
1.3k
Firebase & Google Cloud によるサーバーレス帳票管理 #FJUG / Serverless Architecture in Candy
potato4d
8
3.7k
NestJS meetup Tokyo Opening Talk / What is NestJS? #nestjs_meetup
potato4d
11
4.1k
私たちはなぜ SPA で開発するのか / Why you choose SPA
potato4d
39
27k
Amplify Console 誕生以来本番運用しつづけてわかったこと #awswakaran_tokyo
potato4d
6
3.5k
Other Decks in Programming
See All in Programming
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
190
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
250
#kanrk08 / 公開版 PicoRubyとマイコンでの自作トレーニング計測装置を用いたワークアウトの理想と現実
bash0c7
1
480
GraphRAGの仕組みまるわかり
tosuri13
8
480
Beyond Portability: Live Migration for Evolving WebAssembly Workloads
chikuwait
0
390
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
2
350
今ならAmazon ECSのサービス間通信をどう選ぶか / Selection of ECS Interservice Communication 2025
tkikuc
20
3.6k
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
2
570
LT 2025-06-30: プロダクトエンジニアの役割
yamamotok
0
480
Azure AI Foundryではじめてのマルチエージェントワークフロー
seosoft
0
130
0626 Findy Product Manager LT Night_高田スライド_speaker deck用
mana_takada
0
110
地方に住むエンジニアの残酷な現実とキャリア論
ichimichi
5
1.3k
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
930
Reflections from 52 weeks, 52 projects
jeffersonlam
351
20k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
Writing Fast Ruby
sferik
628
61k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.6k
The Cost Of JavaScript in 2023
addyosmani
51
8.5k
Bash Introduction
62gerente
614
210k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.3k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.8k
A Tale of Four Properties
chriscoyier
160
23k
Become a Pro
speakerdeck
PRO
28
5.4k
Transcript
͍·͔Β͡ΊΔ nuxt-edge 2018.05.13 NuxtMeetup@merpay
potato4d • HANATANI Takuma a.k.a. potato4d • 20 years old
• Freelance Web Engineer • ⚙ JS(Vue), PHP, Ruby(Rails) • @increments, @gnexltd, @alisproject, etc… • Vue.js Japan Usergroup staff • “Nuxt tech book” author • I — Vue.js / Nuxt.js
What’s nuxt-edge?
IUUQTNFEJVNDPNOVYUOVYUJTDPNJOHPIZFBIDBFB
IUUQTNFEJVNDPNOVYUOVYUJTDPNJOHPIZFBIDBFB
nuxt@2 EarlyAccess edition
Nuxt v2 …. ⚙ Features Breaking Changes Modules
⚙ Features • webpack@4 • fast • Support ESModules with
.mjs extension • using std/esm
Breaking changes • Remove isClient / isServer flag • use
process.browser / process.server instead of it • options.dev flag on build function in nuxt.config.js • use options.isDev instead of it • remove vendors • remove “vendor” key in nuxt.config.js
Upgrade modules • @nuxtjs/axios • >= 5.2.0, replace dependencies from
nuxt o nuxt-edge • @nuxtjs/pwa • Coming soon… • Other modules • Independence
How to upgrade
IUUQTRJJUBDPNQPUBUPEJUFNTCDEBE
TL;DR
5 Step • yarn remove nuxt @nuxtjs/axios • yarn add
nuxt-edge @nuxtjs/axios • s/isClient/process.browser/g • s/isServer/process.server/g • yarn dev
Note • In Nuxt I recommend using Yarn • https://github.com/nuxt/nuxt.js/blob/dev/yarn.lock
with Express
6 Step • yarn remove nuxt @nuxtjs/axios • yarn add
nuxt-edge @nuxtjs/axios • s/isClient/process.browser/g • s/isServer/process.server/g • yarn dev • replace “nuxt” to “nuxt-edge“ on import / require syntax
Simple Demo
https://github.com/magitek-telescope/nuxt-meetup-2
Digression
”When will Nuxt 2 be released?”
IUUQTOVYUKTDNUZJPOVYUOVYUKTJTTVFTD
“It will be in May”
I can’t wait
So…
IUUQTTFRVFVFKQ /VYUSDOVYUFEHF
IUUQTQVTIKQ /VYUYOVYUFEHF
IUUQTTBSEJOFTZTUFNDPN /VYUOVYUFEHF
Promotion
/VYUUFDICPPL https://potato4d.booth.pm/items/824745 Nuxt tech book ࣍ ɾ·͕͖͑ ɾΠϯτϩμΫγϣϯ ɾNuxt.js֓ ɾNuxt
ʹΑΔجຊతͳWebΞϓϦέʔγϣϯ։ൃ ɾNuxt ͷػೳΛϑϧ׆༻͢Δ ɾ࣮ફతͳWebΞϓϦέʔγϣϯ։ൃϊϋ ɾNuxt ͷΤίγεςϜ ɾNuxt ͷใऩूɾΩϟονΞοϓͷεεϝ ɾ͋ͱ͕͖ PDF Edition ˇ1,600 Bookˇ2,000
Thanks!