Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Nuxt DevTools 101

Nuxt DevTools 101

Slides for v-tokyo #20

Nozomu Ikuta

May 28, 2024
Tweet

More Decks by Nozomu Ikuta

Other Decks in Technology

Transcript

  1. Get an overview of Nuxt DevTools: why and what Know

    future of Nuxt DevTools Introduction Goals
  2. • Trade-o ff s between transparency and making things easier

    to use • Transparency would be helpful for maintainability in the long run • Needs on tools to make the learning curve smoother https://nuxt.com/blog/nuxt-devtools-v1-0
  3. • The o ff i cial DevTools for Nuxt apps

    • Shipped as a Nuxt module • Run as another app besides yours • Extensible by module authors • Available with Vite only Nuxt DevTools Overview What Nuxt DevTools Is
  4. Features Nuxt DevTools Overview • Components List / Graph /

    Tree • Imports / Virtual Files Viewer • Pages List • App Data • App Con fi g • Runtime Con fi g • Private Con fi g • Timeline / Hooks / Plugins • Build Analysis • Vite Transformation Viewer • Open-in-Editor links
  5. Future of Nuxt DevTools • UI Kit • Nuxt Modules

    Integration • Module Tamplate • Install / Self-update • Custom RPC Functions • Terminal Integration • Assets View • Nuxt Layers Support • Integration into Nuxt core • Build time / Production Support • VS Code Extension • Browser Extension https://github.com/nuxt/devtools/discussions/31 Roadmap
  6. Future of Nuxt DevTools • Much more metrics • Histoire

    integration • Storybook is already supported! • Accessibility Hints • Development-only Built-in Logger • Data / File / Line numbers https://github.com/nuxt/devtools/discussions/29 Community Feedback https://nuxt.com/blog/nuxt-devtools-v1-0
  7. • Nuxt DevTools makes “magics” debuggable and learnable • Nuxt

    DevTools is stable but may be still for early adopters • There are a lots of features on the roadmap