Nuxt3 at Scale with Turborepo 📈 Share TDD Vue3 Components

Опубликовано: 08 Октябрь 2024
на канале: Kaizen Codes
4,520
113

Today we look at how to set up a Nuxt3 project with Turborepo. We also go over using @vue/test-utils with Nuxt3 components and sharing them between different projects. The perfect setup for larger Nuxt3 projects that involve multiple user interfaces and building/testing scenarios. Using Vitest for testing Vue components in Nuxt.

Timestamps:

01:00 - Setup
07:50 - Workspace dependencies
10:50 - turbo.json intro
13:00 - Running Dev
15:00 - Reusable UI components
19:40 - Unit Testing Nuxt components
34:00 - Create Nuxt3 component module
36:20 - Add packages as dependencies
37:00 - Using our global components
43:11 - Testing Component Slots


Support ⭐ - https://kaizen.com.na/payment
Subscribe 🤠 - https://tinyurl.com/yddc7k3t
Homepage 👨‍💻 - https://kaizen.services
Twitter 🤳 -   / eckhardtdreyer  
Blog 🖋️ - https://kaizenmedia.co.za