Skip to content

Instantly share code, notes, and snippets.

@bachhm-dev
Last active September 2, 2020 13:02
Show Gist options
  • Save bachhm-dev/b371842dc1a1884463c36ce589ee362d to your computer and use it in GitHub Desktop.
Save bachhm-dev/b371842dc1a1884463c36ce589ee362d to your computer and use it in GitHub Desktop.
import { onBeforeMount, onMounted } from "vue";
export default {
setup(){
onBeforeMount(() => {
console.log("Before mount");
});
onMounted(() => {
console.log("Mounted");
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment