~/talk

Introduction to Nuxt js

Talkat Vue.js Amsterdam 2019 · 2019-02-14..02-15· [vue]
slides:none on file

Demo uses create-nuxt-app (requires NPM 5.2+) to scaffold a project, chooses universal mode so pages render server‑side then hydrate on the client, and shows the generated folders (pages, layouts, components, static, store, plugins). Assets get hashed or inline if under 1 kilobyte, pages are code‑split and Nuxt does smart prefetching when links enter the viewport, and SEO uses vue-meta so titles and meta descriptions are present in the initial server HTML even with JavaScript disabled.

AI-written summary · about

  1. 0:00Start
  2. 4:20Creating our Initial Nuxt App
  3. 6:30Vue Component Folders
  4. 7:10Nuxt Component Folder Structure
  5. 7:53Initial Component Files
  6. 8:31Image Assets Example
  7. 9:32Nuxt Folder Structure
  8. 10:04Creating our First Pages & Routes
  9. 10:30Creating our Example App
  10. 11:09Fixing the Conflict in Vetur
  11. 11:48Add Styles in the Default Layout
  12. 12:38Simplify our pages/index.vue
  13. 13:11Startup our dev server + test
  14. 13:31Create a new page
  15. 15:47Use NavBar component in the layout
  16. 16:39Single Page App Behavior
  17. 17:45Why SPAs aren't fast on initial load
  18. 18:03Our Solution: Universal Mode
  19. 19:03Universal App after Hydration
  20. 19:57Universal App after Page Load
  21. 22:58Nuxt 2.4: Smart Prefetching
  22. 26:10Two SEO Basics
  23. 31:18What if I turn off JavaScript?
  24. 31:48A Single Page Vue App w/vue-meta
  25. 32:26Our Solution: Universal App
  26. 33:25There are lots of other header tags
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.