O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Nuxt.js - Vue.js on Steroids

Video Description

Build highly engaging Vue.js apps with Nuxt.js. Nuxt adds easy server-side-rendering and a folder-based config approach

About This Video

  • Learn to build highly engaging Vue.js apps with Nuxt.js.
  • Learn to build an entire project, including authentication, via Nuxt.js

In Detail

This course will take you on a journey where you'll you will learn to build highly engaging Vue.js apps with Nuxt.js. Nuxt adds easy server-side-rendering and a folder-based config approach. Vue.js is an amazing JavaScript framework which you can use to build highly engaging user interfaces and single.- page applications. You'll master all the details in this course but the most important takeaway is that Nuxt.js makes creating better, more optimized, and more capable Vue apps much easier—and all of that while adding pretty much no overhead. You'll learn how to create Nuxt/ Vue apps from scratch! You'll build an entire course project and dive into the core features Nuxt.js offers. By the end of the course, you'll have a complete Vue app, built with Nuxt.js, which can be rendered on the server (or as a static website!) and which is highly optimized.

The code bundle for this video course is available at https://github.com/PacktPublishing/Nuxt.js---Vue.js-on-Steroids

Table of Contents

  1. Chapter 1 : Getting Started
    1. Welcome & Introduction 00:01:21
    2. What is Nuxt.js? 00:02:58
    3. Understanding Server Side Rendering 00:04:02
    4. Nuxt vs "Normal" Server Side Rendering 00:01:33
    5. Creating our First Nuxt App 00:05:07
    6. Understanding the Folder Structure 00:05:38
    7. What can we Build with Nuxt? 00:02:34
    8. What's Inside This Course? 00:02:07
    9. How To Get The Most Out Of This Course 00:01:11
  2. Chapter 2 : Pages, Routing & Views
    1. Module Introduction 00:00:56
    2. From Folders to Routes 00:06:32
    3. Creating a Route with a Dynamic Path 00:05:25
    4. Adding Links & Navigating Around 00:06:22
    5. Validating Parameters 00:05:58
    6. Creating Nested Routes 00:03:12
    7. Layouts, Pages & Components – Theory 00:01:30
    8. Adding a New Layout 00:03:52
    9. Adding a Default Error Page 00:01:24
    10. Working with "Normal" Components 00:07:52
    11. Styling Nuxt Apps 00:05:35
    12. Wrap Up 00:01:03
  3. Chapter 3 : Project - Pages, Routing & Views
    1. Module Introduction 00:01:13
    2. Creating the Main "Sections" (Pages) 00:07:58
    3. Adding External Fonts 00:03:49
    4. Creating the Landing Page 00:05:50
    5. Splitting the Page into Components 00:08:28
    6. Adding Static Assets - The Background Image 00:02:34
    7. Adding the Header Component 00:05:54
    8. Vue Router vs. Nuxt Router 00:01:29
    9. Working on the Post Page 00:04:34
    10. Creating an Admin Section 00:12:37
    11. Preparing the Backend 00:10:21
    12. Improving the App 00:02:38
    13. Adding a Separate Layout to the Admin Area 00:02:50
  4. Chapter 4 : Handling Data
    1. Module Introduction 00:01:01
    2. Adding Dynamic Data 00:05:52
    3. Preparing Data on the Server-Side (through Nuxt) 00:09:09
    4. asyncData on Client & Server 00:03:17
    5. A r Look at the Context Object 00:02:45
    6. Adding Async Data to a Single Post 00:05:31
    7. Handling Errors with a Callback 00:01:55
    8. Using Promises in asyncData 00:03:18
    9. Adding the Vuex Store 00:08:00
    10. Vuex, fetch() and nuxtServerInit() 00:09:26
    11. Wrap Up 00:03:12
  5. Chapter 5 : Connecting our App to the Backend
    1. Module Introduction 00:00:45
    2. Executing Code on the Server 00:03:36
    3. Adding Firebase as a Backend 00:02:06
    4. Using Firebase to Store Data 00:04:56
    5. Fetching Data from the Backend 00:04:18
    6. Initializing our Store 00:02:54
    7. Fetching all Posts 00:05:09
    8. Editing Posts 00:04:33
    9. Synchronizing Vuex and the Backend 00:10:37
    10. Wrap Up 00:01:59
  6. Chapter 6 : Nuxt - Config, Plugins & Modules
    1. Module Introduction 00:00:57
    2. The Nuxt Config File 00:06:29
    3. The Loading Property 00:03:29
    4. Working with Environment Variables 00:05:38
    5. Manipulating Routing Settings 00:04:34
    6. Animating Page Transitions 00:03:18
    7. Adding Plugins 00:05:17
    8. Registering a Date Filter 00:02:11
    9. Understanding Modules 00:08:09
    10. Wrap Up 00:00:47
  7. Chapter 7 : Middleware & Authentication
    1. Module Introduction 00:00:44
    2. What is Middleware? 00:06:47
    3. Adding User Signup 00:06:49
    4. Adding User Login 00:02:53
    5. Storing the Token 00:06:00
    6. Using the Token for Authentication 00:03:22
    7. Implementing a Middleware 00:04:11
    8. Invalidating the Token 00:02:53
    9. Persisting the Token Across Page Refreshes 00:09:53
    10. Implementing Cookies 00:09:34
    11. Fixing the Logout Timer 00:06:20
    12. Adding the Logout Functionality 00:05:03
    13. A Quick Bugfix 00:00:48
  8. Chapter 8 : The Server Side
    1. Module Introduction 00:01:13
    2. Adding Server Side Middleware 00:06:18
    3. Testing the Middleware 00:02:12
    4. Starting a Project with a Server Side Template 00:03:09
  9. Chapter 9 : Building a Nuxt App
    1. Module Introduction 00:00:32
    2. Universal vs SPA vs Static 00:03:02
    3. Building our App as a Universal App 00:02:03
    4. Building our App as a SPA 00:05:44
    5. Building our App as a Static Website 00:03:21
    6. Improving the Generate Process 00:04:43
    7. Limiting the Amount of http Requests 00:03:05
    8. Adjusting the Store 00:02:33
  10. Chapter 10 : Round Up
    1. Course Roundup 00:00:53