Alexander Lichter
Web Engineering Consultant • Founder • Nuxt team • Speaker
Alexander Lichter
Nuxt.js Core Maintainer
@TheAlexLichter
https://lichter.io
Web Dev Consultant
@TheAlexLichter
2
+ vue router + (+ vuex)
@TheAlexLichter
@TheAlexLichter
There can be many folders
Minimal structure
@TheAlexLichter
@TheAlexLichter
@TheAlexLichter
SPA
Dynamic SSR
SSG
Build classic Single Page Applications - just one HTML files and lots of static assets
Render HTML on the fly through a running Node.js server
Generate your site at build time (Jamstack!) and provide a fallback for dynamic sites
⌛
⚡
🤝
@TheAlexLichter
CDN
1. Request
2. Return "empty" HTML file + JavaScript
3. Parsing
API
4. Request
5. Response
@TheAlexLichter
Node.js
Server
1. Request
4. HTML + JS
API
2. Request
3. JSON
3. Hydration after
JS download
@TheAlexLichter
Node.js
Server
3. HTML + JS as static files
API
1. Request
2. JSON
@TheAlexLichter
CDN
1. Request
3. Hydration after JS download
@TheAlexLichter
☸️ No need to "reinvent the wheel"
✅ Easy to integrate 3rd party libs
🎣 Hook into workflows of the frameworks on demand
👐🏻 Great to share and open source
@TheAlexLichter
☸️ No need to "reinvent the wheel"
✅ Easy to integrate 3rd party libs
🎣 Hook into workflows of the frameworks on demand
👐🏻 Great to share and open source
https://modules.nuxtjs.org
@TheAlexLichter
@TheAlexLichter
@TheAlexLichter
@TheAlexLichter
@TheAlexLichter
By Alexander Lichter
Web Engineering Consultant • Founder • Nuxt team • Speaker