Introduction to Nuxt Modules
summary
Builds a Nuxt module from scratch that adds routes and pages inside a modules folder, uses axios to fetch five albums from JSONPlaceholder and generates five static routes, exposes a customizable path name via module options and injects module options via a client plugin using EJS, creates a dynamic _id page and uses store.registerModule to inject a Vuex module, demonstrates yarn dev and yarn generate and shows the approach works end to end and that the ecosystem lists 169 official modules.
AI-written summary · about
chapters (6)
- 0:00Nuxt modules intro
- 2:19Nuxt module capabilities
- 4:08Build Nuxt module from scratch
- 14:52Module options for customization
- 23:38Inject Vuex store via module
- 25:49Official Nuxt modules
related talks
49mLet's Build: Crafting a Nuxt 3 App from Scratch
22mNuxt.js as a headless CMS
50mVue.js - Power and Flexibility
55mNuxt.js: isomorphic Vue.js Apps made easy, fast and fun
23mNuxt: Making an Extensible Meta Framework
38mBeyond Static: Building with Nuxt 3 and Nitro
12mLet's Vue Like It's 1999
34mNuxt + Vue: The Game-Changer Your New Projects Deserve
