Aller au contenu principal
Academind
Tous les cours

Cours Academind Pro

Vue 3 - The Complete Guide (incl. Router, Vuex, Composition API)

Learn Vue.js - in its latest version - step by step from the ground up. Learn how to build highly reactive web apps with one of the most popular frameworks!

  • 22 sections · 337 leçons
  • 30 h et 26 min au total
Vue 3 - The Complete Guide (incl. Router, Vuex, Composition API)

À propos de ce cours

You can write JavaScript, but building a modern UI still feels like juggling templates, events, and state until everything gets messy. You want that smooth, reactive app experience in the browser—without turning every change into a refactor.

In this course, you’ll get a clear, step-by-step path into Vue 3 that doesn’t just show you what to type—it explains why it works. You’ll move from the essentials to the patterns that make bigger apps stay maintainable, using real examples, exercises, and challenges to lock things in.

By the end, you’ll be able to plan, build, and ship Vue applications that scale from small widgets to larger, enterprise-style projects. You’ll know how to structure your UI, connect it to backend APIs, handle login flows, and confidently take an app from development setup to deployment.

Ce que vous allez apprendre

You’ll cover Vue 3’s core building blocks and then connect them into real-world app architecture—components, routing, Vuex state, API communication, and the Composition API.

  1. 01

    Build reactive UIs

    Create interfaces that update automatically when data changes, and wire up user interactions by listening to events. You’ll be able to keep UI and data in sync without manual DOM manipulation.

  2. 02

    Control rendering logic

    Render lists, show and hide elements conditionally, and structure templates so they stay readable as features grow. You’ll be able to build dynamic screens that respond to both data and user actions.

  3. 03

    Component-driven architecture

    Split your UI into reusable components and understand what happens behind the scenes when Vue updates the page. You’ll be able to design apps that stay maintainable instead of becoming one giant file.

  4. 04

    Forms and HTTP APIs

    Bind form inputs to your data model and send HTTP requests to backend APIs. You’ll be able to load, create, and update data from a server and reflect results in the UI.

  5. 05

    SPA routing flows

    Build a Single-Page Application with routing so users can navigate between views without full page reloads. You’ll be able to design multi-page-like experiences inside one Vue app.

  6. 06

    State, auth, deployment

    Manage shared state with Vuex, implement authentication flows in Vue, and deploy your finished application. You’ll be able to take an app from local development to a live, usable product.

Prérequis

  • Basic JavaScript knowledge is required.

  • Basic HTML and CSS knowledge is assumed.

  • ES6 knowledge is helpful but not required.

À qui s’adresse ce cours

  • JavaScript learners

    You’ve written some JavaScript and want to turn it into real web applications instead of isolated scripts. This course gives you a structured way to start building reactive apps that run in the browser.

  • Framework switchers

    You’ve used Angular (2+) or React and you’re looking for an alternative that feels more straightforward to start with. You’ll get a Vue-focused workflow that helps you build quickly without heavy setup.

  • Backend developers

    You’re comfortable on the server side but want to step into frontend development without learning a completely different language. Vue’s native JavaScript approach makes it a practical next move for building modern UIs.

Programme

Découvrez la structure et le rythme de ce cours avant de commencer.

  1. 1Getting Started12 leçons · 44 min
    1. 01Welcome to the Course!1:39 min
    2. 02What is "Vue.js"?7:51 min
    3. 03Different Ways of Using Vue2:35 min
    4. 04Exploring Vue Alternatives3:11 min
    5. 05Building A First App With Just JavaScript7:26 min
    6. 06Re-building the App with Vue11:39 min
    7. 07Vue vs "Vanilla JavaScript" (just JavaScript)1:10 min
    8. 08Setting Up the Course Development Environment2:04 min
    9. 09Course Outline & What's In The Course2:58 min
    10. 10How To Get The Most Out Of This Course3:23 min
    11. 11Module Resources0:00 min
    12. 12The Academind Pro Referral Program0:00 min
  2. 2Basics & Core Concepts - DOM Interaction with Vue34 leçons · 2 h et 56 min
    1. 01Module Introduction0:48 min
    2. 02Creating and Connecting Vue App Instances8:40 min
    3. 03Interpolation and Data Binding3:35 min
    4. 04Binding Attributes with the "v-bind" Directive5:37 min
    5. 05Understanding "methods" in Vue Apps5:47 min
    6. 06Working with Data inside of a Vue App3:23 min
    7. 07Outputting Raw HTML Content with v-html3:31 min
    8. 08A First Summary4:12 min
    9. 09Time to Practice: Data Binding - Problem2:55 min
    10. 10Time to Practice: Data Binding - Solution11:34 min
    11. 11Understanding Event Binding7:17 min
    12. 12Events & Methods6:12 min
    13. 13Working with Event Arguments2:59 min
    14. 14Using the Native Event Object8:59 min
    15. 15Exploring Event Modifiers9:53 min
    16. 16Locking Content with v-once2:07 min
    17. 17Time to Practice: Event Binding - Problem1:47 min
    18. 18Time to Practice: Event Binding - Solution8:54 min
    19. 19Data Binding + Event Binding = Two-Way Binding6:32 min
    20. 20Methods used for Data Binding: How It Works6:46 min
    21. 21Introducing Computed Properties5:58 min
    22. 22Working with Watchers10:49 min
    23. 23Methods vs Computed Properties vs Watchers2:27 min
    24. 24v-bind and v-on Shorthands1:53 min
    25. 25Time to Practice: Reactivity - Problem1:57 min
    26. 26Time to Practice: Reactivity - Solution9:00 min
    27. 27Dynamic Styling with Inline Styles7:19 min
    28. 28Adding CSS Classes Dynamically6:31 min
    29. 29Classes & Computed Properties1:57 min
    30. 30Dynamic Classes: Array Syntax1:22 min
    31. 31Time to Practice: Dynamic Styling - Problem2:32 min
    32. 32Time to Practice: Dynamic Styling - Solution8:24 min
    33. 33Module Summary4:14 min
    34. 34Module Resources0:00 min
  3. 3Rendering Conditional Content & Lists13 leçons · 53 min
    1. 01Module Introduction1:35 min
    2. 02Understanding the Problem3:16 min
    3. 03Rendering Content Conditionally5:09 min
    4. 04v-if, v-else and v-else-if4:18 min
    5. 05Using v-show Instead Of v-if2:25 min
    6. 06Rendering Lists of Data6:20 min
    7. 07Diving Deeper Into v-for5:12 min
    8. 08Removing List Items3:59 min
    9. 09Lists & Keys8:26 min
    10. 10Time to Practice: Conditional Content & Lists - Problem1:09 min
    11. 11Time to Practice: Conditional Content & Lists - Solution8:48 min
    12. 12Module Summary2:15 min
    13. 13Module Resources0:00 min
  4. 4Course Project: The Monster Slayer Game9 leçons · 1 h et 2 min
    1. 01Module Introduction1:18 min
    2. 02Project Setup & First Methods12:27 min
    3. 03Updating the Health Bars7:07 min
    4. 04Adding a "Special Attack"6:23 min
    5. 05Adding a "Heal" Functionality4:46 min
    6. 06Adding a "Game Over" Screen9:37 min
    7. 07Finishing the Core Functionality6:08 min
    8. 08Adding a Battle Log14:11 min
    9. 09Module Resources0:00 min
  5. 5Vue: Behind the Scenes10 leçons · 48 min
    1. 01Module Introduction1:31 min
    2. 02An Introduction to Vue's Reactivity4:26 min
    3. 03Vue Reactivity: A Deep Dive8:10 min
    4. 04One App vs Multiple Apps3:53 min
    5. 05Understanding Templates3:56 min
    6. 06Working with Refs5:21 min
    7. 07How Vue Updates the DOM6:26 min
    8. 08Vue App Lifecycle - Theory4:46 min
    9. 09Vue App Lifecycle - Practice9:48 min
    10. 10Module Resources0:00 min
  6. 6Introducing Components6 leçons · 22 min
    1. 01Module Introduction1:30 min
    2. 02Understanding the Problem8:39 min
    3. 03Introducing Components10:54 min
    4. 04The Why: Building Complex User Interfaces With Components1:00 min
    5. 05Multiple Vue Apps vs Multiple Components0:00 min
    6. 06Module Resources0:00 min
  7. 7Moving to a Better Development Setup & Workflow with the Vue CLI14 leçons · 59 min
    1. 01Module Introduction1:35 min
    2. 02Why We Need A Development Server3:29 min
    3. 03Why We Want A Better Developer Experience5:50 min
    4. 04Installing & Using the Vue CLI8:26 min
    5. 05Inspecting the Created Project5:58 min
    6. 06Inspecting the Vue Code & ".vue" Files6:04 min
    7. 07Adding the "Vetur" Extension to VS Code1:15 min
    8. 08More on ".vue" Files1:40 min
    9. 09A New Vue Project5:05 min
    10. 10Creating a Basic Vue App9:32 min
    11. 11Adding a Component8:14 min
    12. 12Adding Styling2:16 min
    13. 13A Small Addition0:00 min
    14. 14Module Resources0:00 min
  8. 8Component Communication19 leçons · 1 h et 56 min
    1. 01Module Introduction1:41 min
    2. 02Introducing "Props" (Parent => Child Communication)10:03 min
    3. 03Prop Behavior & Changing Props6:30 min
    4. 04Validating Props7:14 min
    5. 05Supported Prop Values0:00 min
    6. 06Working with Dynamic Prop Values5:37 min
    7. 07Emitting Custom Events (Child => Parent Communication)11:15 min
    8. 08Defining & Validating Custom Events4:05 min
    9. 09Prop / Event Fallthrough & Binding All Props0:00 min
    10. 10Demo: Adding Components & Connecting Them13:15 min
    11. 11Demo: Adding More Component Communication6:24 min
    12. 12Time to Practice: Props & Custom Events - Problem3:13 min
    13. 13Time to Practice: Props & Custom Events - Solution21:38 min
    14. 14A Potential Problem6:26 min
    15. 15Provide + Inject To The Rescue8:16 min
    16. 16Provide + Inject for Functions / Methods3:59 min
    17. 17Provide + Inject for Functions / Methods2:06 min
    18. 18Module Summary4:44 min
    19. 19Module Resources0:00 min
  9. 9Diving Deeper Into Components18 leçons · 1 h et 24 min
    1. 01Module Introduction1:38 min
    2. 02Project Setup2:38 min
    3. 03Global vs Local Components9:21 min
    4. 04Scoped Styles5:15 min
    5. 05Introducing Slots6:23 min
    6. 06Named Slots5:35 min
    7. 07Slot Styles & Compilation2:26 min
    8. 08More on Slots7:19 min
    9. 09Scoped Slots9:34 min
    10. 10Dynamic Components7:06 min
    11. 11Keeping Dynamic Components Alive2:44 min
    12. 12Applying What We Know & A Problem9:24 min
    13. 13Teleporting Elements3:50 min
    14. 14Working with Fragments1:23 min
    15. 15The Vue Style Guide3:02 min
    16. 16Moving to a Different Folder Structure2:56 min
    17. 17Module Summary3:38 min
    18. 18Module Resources0:00 min
  10. 10Course Project: The Learning Resources App14 leçons · 1 h et 24 min
    1. 01Module Introduction1:37 min
    2. 02Setup & First Steps5:24 min
    3. 03First Components & Props10:46 min
    4. 04Styling and More Components7:19 min
    5. 05Header & BaseCard Components7:00 min
    6. 06Adding a Base Button5:19 min
    7. 07Dynamic Components & Attribute Fallthrough8:37 min
    8. 08Adding & Styling Tabs4:58 min
    9. 09Adding a Form4:12 min
    10. 10Fetching User Input8:27 min
    11. 11Adding a Modal Dialog12:19 min
    12. 12Deleting Items6:42 min
    13. 13Adding "Teleport"1:28 min
    14. 14Module Resources0:00 min
  11. 11Forms10 leçons · 43 min
    1. 01Module Introduction0:33 min
    2. 02v-model & Inputs6:03 min
    3. 03Working with v-model Modifiers and Numbers6:54 min
    4. 04v-model and Dropdowns2:25 min
    5. 05Using v-model with Checkboxes & Radiobuttons7:13 min
    6. 06Adding Basic Form Validation5:13 min
    7. 07Building a Custom Control Component6:27 min
    8. 08Using v-model on Custom Components6:48 min
    9. 09Module Summary1:14 min
    10. 10Module Resources0:00 min
  12. 12Sending Http Requests14 leçons · 53 min
    1. 01Module Introduction1:08 min
    2. 02Starting App & Why we need a Backend5:04 min
    3. 03Adding a Backend3:21 min
    4. 04How To (Not) Send Http Requests5:23 min
    5. 05Sending a POST Request to Store Data5:45 min
    6. 06Http Requests & Http Methods (Verbs)0:00 min
    7. 07Getting Data (GET Request) & Transforming Response Data9:51 min
    8. 08Loading Data When a Component Mounts2:00 min
    9. 09Showing a "Loading..." Message2:55 min
    10. 10Handling the "No Data" State3:00 min
    11. 11Handling Technical / Browser-side Errors6:41 min
    12. 12Handling Error Responses6:49 min
    13. 13Module Summary1:31 min
    14. 14Module Resources0:00 min
  13. 13Routing: Building "Multi-Page" Single Page Applications25 leçons · 1 h et 58 min
    1. 01Module Introduction0:41 min
    2. 02What & Why?4:39 min
    3. 03Routing Setup4:36 min
    4. 04Registering & Rendering Routes6:25 min
    5. 05Navigating with router-link4:55 min
    6. 06Styling Active Links3:05 min
    7. 07Programmatic Navigation4:01 min
    8. 08Passing Data with Route Params (Dynamic Segments)10:46 min
    9. 09Navigation & Dynamic Paths3:00 min
    10. 10Updating Params Data with Watchers5:30 min
    11. 11Passing Params as Props3:37 min
    12. 12Redirecting & "Catch All" Routes7:50 min
    13. 13Using Nested Routes5:34 min
    14. 14More Fun with Named Routes & Location Objects5:21 min
    15. 15Using Query Params3:59 min
    16. 16Rendering Multiple Routes with Named Router Views5:51 min
    17. 17Controlling Scroll Behavior6:17 min
    18. 18Introducing Navigation Guards7:31 min
    19. 19Diving Deeper Into Navigation Guards6:50 min
    20. 20The Global "afterEach" Guard1:27 min
    21. 21Beyond Entering: Route Leave Guards7:13 min
    22. 22Utilizing Route Metadata2:14 min
    23. 23Organizing Route Files4:49 min
    24. 24Summary2:12 min
    25. 25Module Resources0:00 min
  14. 14Animations & Transitions19 leçons · 1 h et 46 min
    1. 01Module Introduction1:11 min
    2. 02Animation Basics & CSS Transitions7:28 min
    3. 03Understanding CSS Animations4:20 min
    4. 04Why Is "Just CSS" Not Enough?4:27 min
    5. 05Playing CSS Animations with Vue's Help4:45 min
    6. 06Using the Transition Component5:02 min
    7. 07CSS Animations with the Transition Component2:28 min
    8. 08Using Custom CSS Class Names3:34 min
    9. 09Example: Animating a Modal8:38 min
    10. 10Transitioning Between Multiple Elements9:15 min
    11. 11Using Transition Events8:31 min
    12. 12Building JavaScript Transitions (instead of CSS)14:57 min
    13. 13Disabling CSS Transitions3:05 min
    14. 14Getting Started with Animated Lists6:44 min
    15. 15Animating Lists with "transition-group"5:26 min
    16. 16Animate List Item Movement3:53 min
    17. 17Animating Route Changes12:15 min
    18. 18An Important Note on Animated Route Changes0:00 min
    19. 19Module Resources0:00 min
  15. 15Vuex21 leçons · 1 h et 50 min
    1. 01Module Introduction0:59 min
    2. 02What & Why?7:11 min
    3. 03Creating & Using a Store4:43 min
    4. 04Connecting Components to State2:36 min
    5. 05Introducing Mutations - A Better Way of Changing Data6:30 min
    6. 06Passing Data to Mutations with Payloads4:07 min
    7. 07Introducing Getters - A Better Way Of Getting Data7:40 min
    8. 08Running Async Code with Actions7:33 min
    9. 09Understanding the Action "Context"2:02 min
    10. 10Using Mapper Helpers5:57 min
    11. 11Example: Adding More State8:09 min
    12. 12Organizing your Store with Modules4:10 min
    13. 13Understanding Local Module State4:27 min
    14. 14Namespacing Modules5:03 min
    15. 15Structuring Vuex Code & Files8:43 min
    16. 16A Challenge!1:51 min
    17. 17Challenge Solution (1/3)12:00 min
    18. 18Challenge Solution (2/3)11:27 min
    19. 19Challenge Solution (3/3)3:18 min
    20. 20Summary1:19 min
    21. 21Module Resources0:00 min
  16. 16Main Project: "Find a Coach" Web App29 leçons · 3 h et 57 min
    1. 01Module Introduction2:35 min
    2. 02Planning the Project / Web App4:26 min
    3. 03Planning the Data Requirements5:11 min
    4. 04Planning the Layout / Components5:06 min
    5. 05Registering Routes5:58 min
    6. 06Adding Route Page Components5:27 min
    7. 07Working on the Main Layout & Styling7:42 min
    8. 08Wiring Up Pages5:22 min
    9. 09Adding Vuex and Coach Data12:15 min
    10. 10Working on the Coaches List and List Items11:21 min
    11. 11Adding a Couple of Base Components (Base Card, Base Button, Base Badge)12:53 min
    12. 12Building the Coach Detail Component8:24 min
    13. 13Filtering Coaches11:10 min
    14. 14Registering as a Coach: The Form10:13 min
    15. 15Adding Coaches to Vuex13:36 min
    16. 16Adding Form Validation12:35 min
    17. 17Working on the Contact Form8:08 min
    18. 18Storing Requests (Messages) With Vuex8:31 min
    19. 19Outputting Incoming Requests (Messages)10:01 min
    20. 20Filtering Requests for the Active Coach4:44 min
    21. 21Sending a PUT Http Request to Store Coach Data11:05 min
    22. 22Fetching Coach Data (GET Http Request)7:51 min
    23. 23Rendering a Loading Spinner6:38 min
    24. 24Adding Http Error Handling9:17 min
    25. 25Sending Coaching Requests Http Requests15:48 min
    26. 26Caching Http Response Data8:28 min
    27. 27Adding Route Transitions10:19 min
    28. 28The "Not Found" Page & Summary2:19 min
    29. 29Module Resources0:00 min
  17. 17Vue & Authentication16 leçons · 1 h et 33 min
    1. 01Module Introduction1:00 min
    2. 02How Authentication Works in Vue Apps (or any SPA)6:09 min
    3. 03Locking / Protecting Backend Resources5:56 min
    4. 04Adding an Authentication Page (Login & Signup)9:54 min
    5. 05Preparing Vuex4:22 min
    6. 06Adding a "Signup" Action & Flow9:05 min
    7. 07Better UX: Loading Spinner & Error Handling5:30 min
    8. 08Adding a "Login" Action & Flow3:15 min
    9. 09Attaching the Token to Outgoing Requests4:19 min
    10. 10Updating the UI Based on Auth State4:04 min
    11. 11Adding a "Logout" Action & Flow3:34 min
    12. 12Authentication & Routing (incl. Navigation Guards)11:41 min
    13. 13Adding "Auto Login"8:52 min
    14. 14Adding "Auto Logout"13:34 min
    15. 15Summary1:19 min
    16. 16Module Resources0:00 min
  18. 18Optimizing & Deploying Vue Apps6 leçons · 29 min
    1. 01Module Introduction1:10 min
    2. 02What To Deploy?2:50 min
    3. 03Optimization: Using Asynchronous Components12:16 min
    4. 04Building the Project For Production3:54 min
    5. 05Deploying a Vue App8:55 min
    6. 06Module Resources0:00 min
  19. 19The Composition API - Replacing the Options API29 leçons · 2 h et 48 min
    1. 01Module Introduction2:00 min
    2. 02Which Problem Does The Composition API Solve?6:51 min
    3. 03Replacing "data" with "refs"11:29 min
    4. 04Replacing the setup() Method0:00 min
    5. 05Building "reactive" Objects10:57 min
    6. 06Reactivity: A Deep Dive8:23 min
    7. 07Replacing "methods" with Regular Functions7:01 min
    8. 08Time to Practice: Data & Functions - Problem2:39 min
    9. 09Time to Practice: Data & Functions - Solution14:24 min
    10. 10Replacing "Computed Properties" with the "computed" Function7:52 min
    11. 11Two-Way-Binding and the Composition API2:58 min
    12. 12Working with Watchers5:42 min
    13. 13Time to Practice: Composition API Core Building Blocks - Problem1:07 min
    14. 14Time to Practice: Composition API Core Building Blocks - Solution7:00 min
    15. 15A First Summary1:37 min
    16. 16How To Use Template Refs4:49 min
    17. 17Components, Props & The Composition API7:57 min
    18. 18Emitting Custom Events2:33 min
    19. 19Working with Provide/ Inject3:42 min
    20. 20Lifecycle Hooks in the Composition API5:13 min
    21. 21Migrating from Options API to Composition API - An Example Project1:55 min
    22. 22Migrating a First Component6:40 min
    23. 23Migrating a Big Component12:38 min
    24. 24Migrating the Remaining Components11:56 min
    25. 25Routing, Params & The Composition API7:27 min
    26. 26The Route & Router Objects and the Composition API5:08 min
    27. 27Using Vuex with the Composition API4:33 min
    28. 28Summary3:09 min
    29. 29Module Resources0:00 min
  20. 20Reusing Functionality: Mixins & Custom Composition Functions14 leçons · 1 h et 3 min
    1. 01Module Introduction1:16 min
    2. 02Reusability Concepts4:54 min
    3. 03Using Mixins4:48 min
    4. 04Understanding Mixin Merging3:11 min
    5. 05Global Mixins2:52 min
    6. 06Disadvantages of Mixins3:28 min
    7. 07Custom Hooks / Composables & The Composition API8:40 min
    8. 08More Custom Composition Functions3:48 min
    9. 09Why Hooks / Composables Beat Mixins1:26 min
    10. 10Example: Creating a "Search" Hook11:28 min
    11. 11Custom Hooks Gotchas8:43 min
    12. 12More Thoughts on Custom Hooks / Composables2:54 min
    13. 13Example: A Custom "Sort" Hook5:29 min
    14. 14Module Resources0:00 min
  21. 21Roundup & Next Steps1 leçon · 3 min
    1. 01Course Roundup & Next Steps3:08 min
  22. 22Vue 2 to Vue 3 Migration4 leçons · 54 min
    1. 01Vue 3 - Overview6:30 min
    2. 02Important Changes & Migration Steps17:51 min
    3. 03Vue 3: New Features5:27 min
    4. 04The New Composition API (Optional!)23:45 min

Prêt à commencer ?

Achetez ce cours sur Academind Pro, ou obtenez tous les cours avec All Access sur Academind Infinite.

Black Friday : un an d’All Access pour 249 $US 249 $US · seulement jusqu’au Profitez de l’offre
  • Ce cours sur Academind Pro

    99 $USpaiement unique

    TVA incluse · Satisfait ou remboursé pendant 30 jours

    • Accès à vie à ce cours
    • Toutes les futures mises à jour de ce cours
    • Ressources téléchargeables, code et un certificat
    Acheter Vue 3
  • All Access sur Academind Infinite

    25 $USpar mois

    ou 249 $US 249 $US par anÉconomisez 17 %

    • Tous les cours, avec toutes leurs fonctionnalités
    • Les nouveaux cours dès leur sortie
    • Votre tuteur, avec toutes ses fonctionnalités
    Obtenir All Access

All Access inclut aussi tous les cours Academind Pro.

Academind Pro et Academind Infinite

Deux plateformes distinctes, chacune avec ses propres cours et sa propre connexion.

Academind Pro

Notre plateforme de cours d’origine, sur pro.academind.com. Votre abonnement Pro et les cours que vous y avez achetés restent sur Pro.

Se connecter à Academind Pro

Academind Infinite

Notre nouvelle plateforme pensée pour l’IA. Les membres Pro se connectent avec leur compte Pro, et l’offre Pro All Access inclut Infinite : tous les cours leur sont ouverts.

Se connecter à Academind Infinite

Vous aviez un compte Pro ou avez acheté un cours sur Pro ?

Tous les cours Pro ne sont pas passés sur Infinite, seulement ceux-ci. Choisissez le vôtre pour le voir sur Infinite.