Skillshareallen

Vue JS 3: Composition API (with Pinia & Vite)

Upgrade your Vue.js skills! Learn to use the Composition API. Perfect for Vue 2 developers. Get started with modern Vue development.

5.0(1)
317students
6h 16m
Certificate
Danny Connell
Danny ConnellTeacher & Indie App Developer

Course Content

Vue JS 3: Composition API (with Pinia & Vite) is an all-levels Skillshare course taught by Danny Connell. It runs 6h 16m, is taught in English, and includes a certificate of completion. Learners rate it 5.0 out of 5 from 1 review, with 317 students enrolled. It is a paid course, first published March 2022.

Are you a Vue 2 developer ready to upgrade? This course provides a comprehensive guide to Vue 3 and the powerful Composition API. If you're already familiar with Vue 2 and the Options API, you're well-positioned to learn these exciting new features.

I'm Danny, an indie app developer and creator of Fudget, a highly-rated personal finance app (iOS, Android, Mac, Windows). I recently spent a year building Fudget 2 using Vue 3 and the Composition API, and in this course, I'll share everything I've learned.

We'll start by exploring the key differences between the Options API and the Composition API through a practical conversion exercise – taking a simple Vue 2 app and transforming it to Vue 3. Then, you'll master essential concepts, including:

  • Reactive Data: Learn to manage data effectively with Refs and Reactive Objects.
  • Methods & Computed Properties: Understand how to create and utilize these powerful tools for data manipulation.
  • Watchers & Lifecycle Hooks: Master reactive data observation and component lifecycle management.
  • Directives: Enhance your templates with custom directives.
  • Vue Router: Navigate your applications with ease, including advanced techniques for handling props, emits, and modelValue in child components.
  • Dynamic Components: Create and utilize components dynamically.
  • Composables: Learn to create reusable logic from scratch and leverage the extensive VueUse library.
  • State Management with Pinia: Discover Pinia, the recommended state management solution for Vue 3, a successor to Vuex.

The course culminates in building a real-world application, Noteballs, from the ground up. This project features full CRUD (Create, Read, Update, Delete) capabilities, utilizes Pinia for state management, and demonstrates practical application of all the concepts covered.

By the end of this course, you'll be confident in creating your own robust Vue 3 applications using the Composition API from scratch.

Prerequisites: A basic understanding of Vue 2, the Options API, HTML, CSS, and JavaScript is required.

[Check out the preview videos!](link to preview videos)

Finished source code from the videos in this class is available:

  • [8. Project Setup](link to code)
  • [13. Script Setup - An Easier Way!](link to code)
  • [17. Non-Reactive Data](link to code)
  • [21. Watch](link to code)
  • [25. Multiple Hooks!](link to code)
  • [27. Global Custom Directives](link to code)
  • [31. useRouter](link to code)
  • [36. Teleport - Part 2](link to code)
  • [47. Provide / Inject - Part 2](link to code)
  • [52. Add Composable from VueUse](link to code)
  • [59. Pinia - Use our Store Anywhere](link to code)
  • [65. Router - Tidying Up](link to code)
  • [72. Add Note Form (Design)](link to code)
  • [78. Delete Note (Emit)](link to code)
  • [93. More Getters & Stats Page](link to code)
  • [99. Click Outside Composable (VueUse, Template Refs)](link to code)
  • [104. Delete Modal - Delete The Note](link to code)
$ whoami — the devs behind tutorialsearch.io

Need a web app built? Hire the team behind TutorialSearch.io

We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.

5.0(1,686)
1h 4m
intermediate
skillshare
skillshare
5.0(219)
5h 42m
intermediate
skillshare
5.0
21m
intermediate
pluralsight
5.0
1h 28m
intermediate
pluralsight