vue mounted
<template>
<div>
<!-- Your template code goes here -->
</div>
</template>
<script>
export default {
name: 'YourComponent',
data() {
return {
// Your data properties go here
};
},
methods: {
// Your methods go here
},
mounted() {
// Code to be executed when the component is mounted
}
};
</script>
<style scoped>
/ Your component-specific styles go here /
</style>