Skip to content Skip to sidebar Skip to footer

Vuejs 3 Api Documentation

I'm interested in having a deeper look into Vue.js v3 even before it's released. Is there an (WIP) API documentation somewhere? Like this one: https://vuejs.org/v2/api/ All I cou

Solution 1:

Since July 2020 You can find the official docs of Vue 3 via this link v3.vuejs.org


You could check the composition api official doc, this article from vuedose.tips, this playlist from Vue mastery youtube channel or this youtube video.

And a basic example that shows how that api looks :

<template><button @click="increment">
    Count is: {{ state.count }}, double is: {{ state.double }}
  </button></template><script>import { reactive, computed } from'vue'exportdefault {
  setup() {
    const state = reactive({
      count: 0,
      double: computed(() => state.count * 2)
    })

    functionincrement() {
      state.count++
    }

    return {
      state,
      increment
    }
  }
}
</script>

Solution 2:

There is a RFC going on here: https://github.com/vuejs/rfcs/blob/function-apis/active-rfcs/0000-function-api.md

You can also check Erik's video on youtube

Solution 3:

The Vue3 docs are ungoogleable and are at https://v3.vuejs.org/

Post a Comment for "Vuejs 3 Api Documentation"