useParams
Edit this pageuseParams
retrieves a reactive object similar to a store.
It contains the current route's path parameters as defined in the Route.
const params = useParams();
// Route path: /user/:id => /user/123console.log(params.id); // 123