5

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?

0

3 Answers 3

8

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>
Sign up to request clarification or add additional context in comments.

Comments

3

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

Comments

2

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.