1👍
I achieved this by refactoring the page as a component and rendering the component on multiple pages.
components/MyPageComponent.vue
<template>
<h1>Your content here.</h1>
</template>
<script setup lang="ts">
// do your script stuff here
</script>
pages/parent/page.vue
<template>
<MyPageComponent />
</template>
pages/other-parent/page.vue
<template>
<MyPageComponent />
</template>
- [Vuejs]-Vue js display obj-array value v-select
- [Vuejs]-How to handle multiple on change events on drop-down selection in vuejs
Source:stackexchange.com