Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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://v2.vuejs.org/v2/api/

All I could find were some articles and semi-official publications. Tried this repository, but there's no branch named dev or such.

i know it's still work in progress, but still, is there no in-house kept doc?

like image 446
entio Avatar asked Aug 06 '19 09:08

entio


3 Answers

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'

export default {
  setup() {
    const state = reactive({
      count: 0,
      double: computed(() => state.count * 2)
    })

    function increment() {
      state.count++
    }

    return {
      state,
      increment
    }
  }
}
</script>
like image 80
Boussadjra Brahim Avatar answered Oct 22 '22 04:10

Boussadjra Brahim


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

like image 3
Maestro Dever Avatar answered Oct 22 '22 05:10

Maestro Dever


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

like image 2
erg Avatar answered Oct 22 '22 04:10

erg