How Vite Makes Nuxt Possible
summary
Explains how Nuxt 3 uses Vite, Rollup and unplugin to enable magic-keyed composables (file+position keys injected so server and client share state), automatic imports and components, and fast iterative development via two Vite builds (server + client) and Vite Node. Shows extracting Vite plugins into Nuxt modules, counts 11 built-in Vite plugins, and demonstrates runtime-configurable asset URLs plus CSS emitted as separate chunks and inlined to cut layout shift.
AI-written summary · about
chapters (9)
- 0:00Introduction to Vite and Nuxt
- 3:56Why Vite powers Nuxt
- 7:08Building a Nuxt module with Vite
- 10:44Developer experience with Vite
- 14:18Auto-keyed composables in Nuxt
- 17:05Inline CSS for performance
- 19:32Runtime asset URL handling
- 22:17SSR and Vite challenges
- 24:07Closing and resources
related talks
50mNuxt and Vite Core Teams LIVE panel
32mNuxt3 in Action
43mInside a Pipeline: Demystifying Vite and Its Plugins
23mFuture of Nuxt and Vite
32mHow Vite Changes the Game for Vue and Web development
34mNuxt + Vue: The Game-Changer Your New Projects Deserve
39mUnJS: Nuxt 3 behind the scenes
23mNuxt: Making an Extensible Meta Framework
