- Forums
- vuejs
- Vuejs Params - Get Url Params In Vuejs
use these instructions to find and get the string from the URL params in Vuejs 13956 [5260], Last Updated: Mon Jun 24, 2024
edw
Wed Dec 20, 2023
0 Comments
203 Visits
router.js
{path: 'index/edit', component: PageEdit, props: true}
PageEdit.vue
<template>
edit ({{route.params.index}}
</template>
import {useRoute} from 'vue-router';
const route = useRoute();
1GNsWa_EZdw