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?
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>
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
The Vue3 docs are ungoogleable and are at https://v3.vuejs.org/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With