Skip to content

Instantly share code, notes, and snippets.

@cursosdesarrolloweb
Created Sep 18, 2020
Embed
What would you like to do?
<template>
<p>{{ message }}</p>
<p>{{ count }}</p>
</template>
<script>
import { ref } from "vue";
export default {
name: "Message",
setup() {
const message = "Hola!";
const count = ref(0);
return { message, count };
}
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment