SlideShare a Scribd company logo
Production-Ready Vue Websites
Using Nuxt.js
25 years old
Frontend Team Leader
@Monolith
Hi, I’m
SNIR SHECHTER
Nice to meet you
Digital Strategy | Specification | Design | Backend | Frontend
High-end 360° web solutions development company
• Develops mainly with Vue.js / Nuxt.js
• Crafting web solutions for international
enterprises, start-ups and big brands
• Located in Poleg, Netanya
We’re Hiring , Join Us > Monolith.co.il/Careers
SPAs are great!
but…
The problem with SPAs
The problem
• Empty source files, no meta tags –
Googlebot can’t scan
• Google doesn’t promise to execute our JS
• Google will most likely not fetch our
async content
• Poor Performance = Bad SEO Ranking
• Limited sitemap / robots.txt
SPAs Are Not
SEO Friendly
Poor performance
(Relatively)
Download files (without proper code-splitting,
it downloads the full App)
Send AJAX requests to the server
Re-render
Steps to render a normal SPA:
Build DOM & Render
Universal (isomorphic)
Web Applications
The Solution
Isomorphic?!
An app able to run on two or
more platforms/environments.
SPAs Universal Apps Architecture
The Solution
SEO Friendly
Fast Time-To-Content
Preserving SPA
Capabilities
The Benefits
Universal JavaScript Application
Architecture
Front end
Server
API Server
Browser
1 First Request Goes To Node Server
2 Server Loads Necessary
Data From API
Server Returns Full HTML Page3
Browser Renders Page,
Then JavaScript Hydrates
Single Page Application
4
Subsequent Pages Load Data
Directly From API, Render
On Client
5
Let’s Build
A Universal App In Vue
A Universal Vue App
The solution
Minimal Setup Steps/Modules + Lines Of Code + Lines Of Code
Per Page
+ Extra
From the official Vue SSR docs - https://ssr.vuejs.org
Basic Server Rendering + different entries 36 - A server, 3 files
Routing + Middleware (route guards) 21 9 2 files, duplication per mw
Component prefetch, Vuex data injection 29 8 Duplication per call (each)
Meta tags 30 3 -
Everything is a factory – preventing data leaks 15 - -
2 Webpack configs, hot-reload, error handling 52+12+72 - -
Total 267 12
A server, 5 files, 3 repeating
duplications (!)
Ready To Go
Vue SSR
Nuxt.js
Production ready Vue Apps
“Nuxt.js’ main scope is UI rendering while abstracting away the client/server distribution”
nuxtjs.org
A higher-level
framework for
building
Universal Vue.js
apps easily
Simplifies
development of
real-world Vue
websites,
focusing on SSR
Built by Vue
core team
members
Inspired by
Next.js – a similar
framework for
React
Meet Sébastien Chopin
Production ready Vue Apps
Nuxt.js Features
Ready To Go Vue SSR!
Easy SSR
• Modes: Universal | Generate (pre-render) | SPA
• Auto-generated universal routing.
• Unified route guards (middleware).
• Easy data fetch and hydration.
• Easy integration with other NodeJS backends.
Easier Development
• Batteries included: Vuex, Vue Router, Vue Meta, Axios, Polyfills,
Vue Server Renderer.
• Highly modular and extendable using modules/plugins.
• Many official plug n’ play modules.
• Auto-generated Vuex & Vue Router config based on file structure.
• Auto code splitting (pre-configured for next-page pre-fetch).
• Code optimization – built-in browser detection, code-slimming
techniques, dedicated config.
SEO Friendly
• Crawlable.
• Built-in meta tag management (with dynamic data).
• Sitemap easily auto-generated (using an official module).
• robots.txt already handled (using an official module).
• First page loads super fast.
More Cool Stuff
• Page load indicator.
• No more bloated App.js files.
• AJAX progress bar.
• Page Transitions.
• Easy error handling.
• Explicit folder structure.
• Layouts configured out-of-the-box.
• Easy configuration in a single file.
And that’s just for starters!
Let’s Code!
So
Summary
In conclusion
If you need SSR capabilities – USE NUXT!
SPAs are not
SEO-friendly
The only solution is
building a universal app
Universal development is cumbersome
in Vue (and SPAs in general)
Nuxt.js is a production-ready Vue app:
• Makes our lives easier deploying SSR Websites
• Simplifies development cuts off time and complexity
We’re Hiring , Join Us >
THANK YOU
We’re Hiring , Join Us > Monolith.co.il/Careers

More Related Content

What's hot (20)

PPTX
A Gentle Introduction to Blazor
Jose Javier Columbie
 
PPT
Spring Boot. Boot up your development. JEEConf 2015
Strannik_2013
 
PPTX
Introduction to ASP.NET 5
mbaric
 
PPTX
Let’s setup CI/CD for Sitecore Managed Cloud/PaaS using Azure DevOps pipelines
Vadzim Papko
 
PPTX
Hidden Gems of Azure Websites: The Secret of Kudu
Juv Chan
 
PPTX
A High-Performance Solution to Microservice UI Composition @ XConf Hamburg
Dr. Arif Wider
 
PDF
Server rendering-talk
Daiwei Lu
 
PPTX
Sug bangalore - headless jss
Anindita Bhattacharya
 
PPTX
Evolution / History of ASP.NET
Anoop Kumar Sharma
 
PDF
Creating a custom API for a headless Drupal
Exove
 
PDF
The Dark Side of Single Page Applications
Dor Kalev
 
PPTX
Custom Runtimes for the Cloud
CloudBees
 
PDF
Modern Web Framework : Play framework
Suman Adak
 
PDF
Evaluating and Choosing ZK Framework
southerncrossie
 
PDF
Get Started with ASP.NET Core Training, Tutorial - Beginner to Advance
Shailendra Chauhan
 
PPTX
Decoupled Architecture and WordPress
Pantheon
 
PPTX
Azure Bootcamp Louisville - Node js presentation
Andrea Walker
 
PPTX
Host, deploy & scale Blazor Server Apps
Jose Javier Columbie
 
PPTX
Asp.net core 1.0 (Peter Himschoot)
Visug
 
PDF
Agile sites311training
Michele Sciabarrà
 
A Gentle Introduction to Blazor
Jose Javier Columbie
 
Spring Boot. Boot up your development. JEEConf 2015
Strannik_2013
 
Introduction to ASP.NET 5
mbaric
 
Let’s setup CI/CD for Sitecore Managed Cloud/PaaS using Azure DevOps pipelines
Vadzim Papko
 
Hidden Gems of Azure Websites: The Secret of Kudu
Juv Chan
 
A High-Performance Solution to Microservice UI Composition @ XConf Hamburg
Dr. Arif Wider
 
Server rendering-talk
Daiwei Lu
 
Sug bangalore - headless jss
Anindita Bhattacharya
 
Evolution / History of ASP.NET
Anoop Kumar Sharma
 
Creating a custom API for a headless Drupal
Exove
 
The Dark Side of Single Page Applications
Dor Kalev
 
Custom Runtimes for the Cloud
CloudBees
 
Modern Web Framework : Play framework
Suman Adak
 
Evaluating and Choosing ZK Framework
southerncrossie
 
Get Started with ASP.NET Core Training, Tutorial - Beginner to Advance
Shailendra Chauhan
 
Decoupled Architecture and WordPress
Pantheon
 
Azure Bootcamp Louisville - Node js presentation
Andrea Walker
 
Host, deploy & scale Blazor Server Apps
Jose Javier Columbie
 
Asp.net core 1.0 (Peter Himschoot)
Visug
 
Agile sites311training
Michele Sciabarrà
 

Similar to Production Ready Vue Apps With Nuxt.js (20)

PDF
What is Nuxt js A Beginner’s Guide to Modern Vue Development
Elightwalk Technology PVT. LTD.
 
PDF
How To Use Server-Side Rendering with Nuxt.js
Andolasoft Inc
 
PDF
Supercharge your next Vue app with Nuxt
The Software House
 
PPTX
What is Vuejs.pptx
NhnHVn2
 
PPTX
Server Side Rendering with Nuxt.js
Jessie Barnett
 
PDF
Nuxtjs cheat-sheet
ValeriaCastillo71
 
PPTX
An Overview on Nuxt.js
Squash Apps Pvt Ltd
 
PDF
nuxt-sample.pdf
ssuser65180a
 
PDF
Drupalcon 2021 - Nuxt.js for drupal developers
nuppla
 
PDF
Advantages of Server-side Rendering (SSR) in Vue.js Development
AddWeb Solution Pvt. Ltd.
 
PDF
nuxt-en.pdf
ssuser65180a
 
PPTX
Why Choose Vue.js For Web Development Projects.pptx
Scala Code
 
PDF
Why do JavaScript enthusiast think of Vue.js for building real-time web appli...
Katy Slemon
 
PPTX
Server side rendering review
Vladyslav Morzhanov
 
PDF
Scalable Front-end Development with Vue.JS
Galih Pratama
 
PPTX
Getting Started with Vuejs
Tarandeep Singh
 
PDF
An introduction to nuxt.js
Hunter Jansen
 
PDF
Seo for single page applications
JustinGillespie12
 
PPTX
Develop a vanilla.js spa you and your customers will love
Chris Love
 
PDF
Nuxt.JS Introdruction
David Ličen
 
What is Nuxt js A Beginner’s Guide to Modern Vue Development
Elightwalk Technology PVT. LTD.
 
How To Use Server-Side Rendering with Nuxt.js
Andolasoft Inc
 
Supercharge your next Vue app with Nuxt
The Software House
 
What is Vuejs.pptx
NhnHVn2
 
Server Side Rendering with Nuxt.js
Jessie Barnett
 
Nuxtjs cheat-sheet
ValeriaCastillo71
 
An Overview on Nuxt.js
Squash Apps Pvt Ltd
 
nuxt-sample.pdf
ssuser65180a
 
Drupalcon 2021 - Nuxt.js for drupal developers
nuppla
 
Advantages of Server-side Rendering (SSR) in Vue.js Development
AddWeb Solution Pvt. Ltd.
 
nuxt-en.pdf
ssuser65180a
 
Why Choose Vue.js For Web Development Projects.pptx
Scala Code
 
Why do JavaScript enthusiast think of Vue.js for building real-time web appli...
Katy Slemon
 
Server side rendering review
Vladyslav Morzhanov
 
Scalable Front-end Development with Vue.JS
Galih Pratama
 
Getting Started with Vuejs
Tarandeep Singh
 
An introduction to nuxt.js
Hunter Jansen
 
Seo for single page applications
JustinGillespie12
 
Develop a vanilla.js spa you and your customers will love
Chris Love
 
Nuxt.JS Introdruction
David Ličen
 
Ad

Recently uploaded (20)

PDF
July Patch Tuesday
Ivanti
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
July Patch Tuesday
Ivanti
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Biography of Daniel Podor.pdf
Daniel Podor
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Ad

Production Ready Vue Apps With Nuxt.js

  • 2. 25 years old Frontend Team Leader @Monolith Hi, I’m SNIR SHECHTER Nice to meet you Digital Strategy | Specification | Design | Backend | Frontend High-end 360° web solutions development company • Develops mainly with Vue.js / Nuxt.js • Crafting web solutions for international enterprises, start-ups and big brands • Located in Poleg, Netanya We’re Hiring , Join Us > Monolith.co.il/Careers
  • 4. The problem with SPAs The problem • Empty source files, no meta tags – Googlebot can’t scan • Google doesn’t promise to execute our JS • Google will most likely not fetch our async content • Poor Performance = Bad SEO Ranking • Limited sitemap / robots.txt SPAs Are Not SEO Friendly Poor performance (Relatively) Download files (without proper code-splitting, it downloads the full App) Send AJAX requests to the server Re-render Steps to render a normal SPA: Build DOM & Render
  • 5. Universal (isomorphic) Web Applications The Solution Isomorphic?! An app able to run on two or more platforms/environments.
  • 6. SPAs Universal Apps Architecture The Solution SEO Friendly Fast Time-To-Content Preserving SPA Capabilities The Benefits Universal JavaScript Application Architecture Front end Server API Server Browser 1 First Request Goes To Node Server 2 Server Loads Necessary Data From API Server Returns Full HTML Page3 Browser Renders Page, Then JavaScript Hydrates Single Page Application 4 Subsequent Pages Load Data Directly From API, Render On Client 5
  • 8. A Universal Vue App The solution Minimal Setup Steps/Modules + Lines Of Code + Lines Of Code Per Page + Extra From the official Vue SSR docs - https://ssr.vuejs.org Basic Server Rendering + different entries 36 - A server, 3 files Routing + Middleware (route guards) 21 9 2 files, duplication per mw Component prefetch, Vuex data injection 29 8 Duplication per call (each) Meta tags 30 3 - Everything is a factory – preventing data leaks 15 - - 2 Webpack configs, hot-reload, error handling 52+12+72 - - Total 267 12 A server, 5 files, 3 repeating duplications (!)
  • 10. Nuxt.js Production ready Vue Apps “Nuxt.js’ main scope is UI rendering while abstracting away the client/server distribution” nuxtjs.org A higher-level framework for building Universal Vue.js apps easily Simplifies development of real-world Vue websites, focusing on SSR Built by Vue core team members Inspired by Next.js – a similar framework for React
  • 12. Nuxt.js Features Ready To Go Vue SSR! Easy SSR • Modes: Universal | Generate (pre-render) | SPA • Auto-generated universal routing. • Unified route guards (middleware). • Easy data fetch and hydration. • Easy integration with other NodeJS backends. Easier Development • Batteries included: Vuex, Vue Router, Vue Meta, Axios, Polyfills, Vue Server Renderer. • Highly modular and extendable using modules/plugins. • Many official plug n’ play modules. • Auto-generated Vuex & Vue Router config based on file structure. • Auto code splitting (pre-configured for next-page pre-fetch). • Code optimization – built-in browser detection, code-slimming techniques, dedicated config. SEO Friendly • Crawlable. • Built-in meta tag management (with dynamic data). • Sitemap easily auto-generated (using an official module). • robots.txt already handled (using an official module). • First page loads super fast. More Cool Stuff • Page load indicator. • No more bloated App.js files. • AJAX progress bar. • Page Transitions. • Easy error handling. • Explicit folder structure. • Layouts configured out-of-the-box. • Easy configuration in a single file. And that’s just for starters!
  • 14. Summary In conclusion If you need SSR capabilities – USE NUXT! SPAs are not SEO-friendly The only solution is building a universal app Universal development is cumbersome in Vue (and SPAs in general) Nuxt.js is a production-ready Vue app: • Makes our lives easier deploying SSR Websites • Simplifies development cuts off time and complexity
  • 15. We’re Hiring , Join Us > THANK YOU We’re Hiring , Join Us > Monolith.co.il/Careers