4

Building a Weather Dashboard – Data Fetching and State Management

As we venture into Chapter 4 of our Nuxt 3 exploration, we’re setting our sights on constructing a practical weather dashboard. Our journey starts with Nuxt UI, Nuxt’s official UI library, which simplifies the creation of stunning and responsive web applications. Nuxt UI offers a comprehensive collection of fully styled and customizable UI components, specifically designed for Nuxt. We’ll explore how to import Nuxt UI into our project and use its components.

Next, we’ll discuss data fetching in general. This will lay the groundwork for understanding how to retrieve and handle data dynamically in a Nuxt application. Specifically, we’ll use the OpenWeatherMap API in our project, ...

Get Nuxt 3 Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.