History of « Become a ninja with Vue »

The current version of the book uses Vue 3.5.13.

List of releases and changes

  • Changes since last release4/13/25
    • From zero to something
      • 2/7/25
        Use the new --bare option of create-vue v3.14.
    • Script setup
      • 2/19/25
        Use props destructuration in more examples
    • State Management
      • 4/13/25
        Remove Vuex section
    • Advanced component patterns
      • 10/1/24
        useTemplateRef is automatically infered.
  • v3.5.19/5/24
    • The templating syntax
      • 1/11/24
        Add the shorter v-bind syntax introduced in Vue v3.4.
    • How to build components
      • 9/5/24
        Add a section about how to pause/resume watchers as introduced in Vue v3.5.
      • 9/5/24
        Add a section about useTemplateRef as introduced in Vue v3.5.
    • Script setup
      • 9/5/24
        Use props destructuration as it is now stable in Vue v3.5
    • Slots
      • 7/26/24
        Add a section about v-slot destructuration.
  • v3.4.012/29/23
    • How to build components
      • 12/29/23
        Add an example of a validator using other props, as introduced in Vue v3.4.
    • Forms
      • 12/29/23
        Update the defineModel section with the new features from Vue v3.4.
  • v3.3.05/12/23
    • The many ways to define components
      • 5/11/23
        The "sugar ref" syntax has been removed as it is now deprecated as of Vue v3.3.
    • Script setup
      • 5/11/23
        Use the shorter defineEmits syntax introduced in Vue v3.3.
      • 5/11/23
        Add a section about the defineOptions macro introduced in Vue v3.3.
    • Forms
      • 5/12/23
        Add a section about the defineModel macro introduced in Vue v3.3.
      • 5/12/23
        Add a section about how to build custom form components.
    • Slots
      • 5/11/23
        Add a section about the defineSlots macro introduced in Vue v3.3.
  • v3.2.451/5/23
    • Global
      • 9/1/22
        Reorder the chapters so that the composition API chapter is before the script setup one (as in the Pro Pack exercises).
    • Style your components
      • 7/7/22
        Add a section about v-bind in CSS
    • Router
      • 12/1/22
        Add a section about the route meta field and its usage with guards
    • Advanced component patterns
      • 9/2/22
        New chapter about advanced component patterns! First sections are about template and component refs.
    • Custom directives
      • 1/5/23
        New chapter about custom directives!
  • v3.2.377/6/22
    • State Management
      • 3/11/22
        Add some details about Pinia (SSR, plugins, HMR, etc.), and add a section about "Why use a store"
    • Internationalization
      • 7/6/22
        New chapter about vue-i18n!
  • v3.2.302/10/22
    • From zero to something
      • 2/10/22
        The getting started section now uses Vite and create-vue!
    • Style your components
      • 2/10/22
        Explain the differences between Vite and the CLI for styles handling
    • Testing your app
      • 2/10/22
        Section about Vitest and the differences with Jest
    • Lazy-loading
      • 2/10/22
        Add a section about lazy-loading with Vite
    • Performances
      • 2/10/22
        Mention Rollup and Vite
  • v3.2.2612/17/21
    • The templating syntax
      • 10/1/21
        Section about Templates and TypeScript support in Vue 3.2
    • Script setup
      • 12/1/21
        Section about defineProps destructuration and default value feature, introduced in Vue{nbsp}3.2.20
    • Composition API
      • 10/1/21
        Section about the awesome VueUse library
    • State Management
      • 12/17/21
        As Pinia is the new official recommandation for state management library in Vue 3 (instead of Vuex), the chapter now goes deeper into the details of how to use Pinia, and how to test it.
    • Router
      • 10/1/21
        Section on how to use vue-router-mock for tests
  • v3.2.199/30/21
    • The many ways to define components
      • 8/30/21
        Update to sugar ref RFC take 2
    • Script setup
      • 9/29/21
        New chapter about the script setup syntax! All examples of the ebook and exercises have been migrated to this new recommended syntax, introduced in Vue 3.2.
    • Suspense
      • 9/29/21
        Section about script setup and await
  • v3.2.08/10/21
    • Global
      • 7/29/21
        Add links to our quizzes!
    • The many ways to define components
      • 8/10/21
        New chapter about the various ways to define a component in Vue 3
    • Performances
      • 8/10/21
        New chapter! Includes a section about the new v-memo directive introduced in Vue 3.2.
  • v3.1.06/7/21
    • The templating syntax
      • 5/5/21
        Mention the projects that can be used to have template type-checking at compile time. The ebook now uses Volar to check the examples.
    • Forms
      • 5/5/21
        VeeValidate v4.3.0 introduced a new url validator.
  • v3.0.114/2/21
  • v3.0.62/26/21
    • Style your components
      • 1/7/21
        New chapter about styles!
    • Provide/inject
      • 2/3/21
        New chapter about provide/inject!
    • State Management
      • 2/25/21
        New chapter about the Store pattern, Flux libraries, Vuex, and Pinia!
    • Animations and transition effects
      • 1/20/21
        New chapter about animations and transitions!
  • v3.0.412/10/20
    • How to build components
      • 11/6/20
        Adds a section on how to choose between ref and reactive.
    • Forms
      • 12/10/20
        Adds a section about custom validators with VeeValidate
      • 12/9/20
        Adds a section on VeeValidate configuration (how to validate on input)
      • 10/13/20
        VeeValidate now offers only some of the previous meta-flags.
      • 10/7/20
        It is now possible to rename a field with VeeValidate to have nicer error messages.
    • Suspense
      • 11/20/20
        Adds a section on the differences between using Suspense or onMounted
    • Router
      • 12/4/20
        Adds a section about using the router with Suspense
  • v3.0.09/18/20
    • Forms
      • 8/7/20
        Update VeeValidate to v4, which supports Vue 3
    • Slots
      • 8/7/20
        The chapter now comes earlier in the book, before the Suspense chapter.
  • v3.0.0-rc.47/24/20
    • Directives
      • 7/16/20
        Clarify that v-for can be used with in or of
    • Router
      • 7/24/20
        Guards can now return a value instead of having to call next().
    • Slots
      • 7/24/20
        New chapter about Slots!
  • v3.0.0-beta.197/8/20
    • The wonderful world of Web Components
      • 6/17/20
        Use customElements.define instead of the deprecated document.registerElement.
    • How to build components
      • 6/12/20
        Explain the emits option and how it can be used to validate the emitted event.
    • Under the hood
      • 7/8/20
        New chapter! Learn how Vue works under the hood (parsing, VDOM, etc.)
      • 7/6/20
        Add a section about building the reactivity functions from scratch
      • 7/6/20
        Add a section about reactivity with getter/setter and proxies
  • v3.0.0-beta.105/11/20
    • Global
      • 5/11/20
        First public release of the ebook!