Vue 3

1 course · 82 lessons

0 of 82 lessons complete0%

Vue3 Fundamentals

12 modules · 82 lessons

Rendering & Templates

9 lessons
  1. Your first componentSingle-file components
  2. Text interpolationText interpolation
  3. Attribute bindingsAttribute binding with v-bind
  4. Class bindingsClass binding
  5. Inline-style bindingsInline-style binding
  6. Conditional renderingConditional rendering
  7. Toggling with v-showToggling with v-show
  8. List renderingList rendering with v-for
  9. Keys in v-forKeys in v-for

Reactivity

13 lessons
  1. Hold a value with refref
  2. Group state with reactivereactive
  3. ref or reactive?choosing between ref and reactive
  4. Derive state with computedcomputed
  5. React to changes with watchwatch
  6. Track dependencies with watchEffectwatchEffect
  7. Stop a watcherwatch control
  8. Keep reactivity with toRefstoRefs
  9. Destructure props reactivelyreactive props destructure
  10. Opt out of deep reactivityshallowRef
  11. Protect state with readonlyreadonly
  12. Wait for the DOM with nextTicknextTick
  13. How Vue tracks dependenciesthe reactivity system

Events & Forms

6 lessons
  1. Responding to eventsHandling events
  2. Event modifiersEvent modifiers
  3. Two-way binding on a text inputTwo-way binding with v-model
  4. Binding checkboxes, radios, and selectsv-model across input types
  5. Shaping the bound valuev-model modifiers
  6. Handling form submissionForm submission

Components, Props & Events

8 lessons
  1. Passing data with propsPassing data with props
  2. Validating propsValidating props
  3. Emitting eventsEmitting events
  4. Custom v-model on a componentCustom v-model on a component
  5. defineModeldefineModel
  6. Fallthrough attributesFallthrough attributes
  7. defineOptionsdefineOptions
  8. defineExposedefineExpose

Composition & Reuse

10 lessons
  1. Default slotsDefault slots
  2. Named slotsNamed slots
  3. Scoped slotsScoped slots
  4. Dynamic componentsDynamic components
  5. Provide and injectProvide and inject
  6. ComposablesComposables
  7. Lifecycle hooksLifecycle hooks
  8. Template refsTemplate refs
  9. Stable ids with useIduseId
  10. markRawmarkRaw

Built-in Components

8 lessons
  1. Cache a component with KeepAliveCaching component instances with KeepAlive
  2. Render elsewhere with TeleportRendering content elsewhere with Teleport
  3. Animate an element with TransitionAnimating enter and leave with Transition
  4. Animate a list with TransitionGroupAnimating list changes with TransitionGroup
  5. Wait for content with SuspenseWaiting for async content with Suspense
  6. Load a component on demandLoading components on demand with defineAsyncComponent
  7. Skip work with v-memoSkipping re-renders with v-memo
  8. Catch a child's errorHandling a child's error with onErrorCaptured

Testing Vue Components

3 lessons
  1. Mounting a componentMounting a component
  2. Finding elements and textFinding elements and text
  3. Triggering eventsTriggering events

Vue 3 + TypeScript

9 lessons
  1. Typed refsTyped refs
  2. Typing propsTyped props
  3. Prop defaultsProp defaults
  4. Typing emitsTyped emits
  5. Typing defineModelTyped model
  6. Generic componentsGeneric components
  7. Typing slotsTyped slots
  8. Typing provide and injectTyped injection keys
  9. Typed template refsTyped template refs

Vue Router

4 lessons
  1. Routes and RouterViewRoutes and `<RouterView>`
  2. Route params and queryDynamic params and query
  3. Nested routes and layoutsNested routes and layouts
  4. Navigation and guardsProgrammatic navigation and guards

State Management with Pinia

4 lessons
  1. Defining a storedefining a store with defineStore
  2. Setup storeswriting a store with the setup syntax
  3. Getters and actionsderiving with getters and mutating with actions
  4. Using a storeusing a store in a component or composable

Nuxt & Server-Side Rendering

4 lessons
  1. File-based routingfile-based routing
  2. Fetching data with useFetchdata fetching with useFetch and useAsyncData
  3. Server rendering and hydrationserver rendering and hydration
  4. Route middlewareroute middleware

Modern Vue (3.5 / 3.6)

4 lessons
  1. Vue 3.5 featuresVue 3.5 features
  2. Vapor ModeVapor Mode
  3. How the compiler optimises templatesCompiler optimisations
  4. Server-side rendering basicsServer-side rendering basics