Develop patterns for creating links outside router
This commit is contained in:
parent
bcd51cf5cf
commit
b4527fba8b
24 changed files with 91 additions and 24 deletions
|
|
@ -20,7 +20,10 @@
|
|||
</div>
|
||||
|
||||
<div class="d-grid mt-4">
|
||||
<RouterLink class="btn btn-primary btn-lg" to="./compliance/address">
|
||||
<RouterLink
|
||||
class="btn btn-primary btn-lg"
|
||||
:to="routes.ComplianceAddress(props.publicID)"
|
||||
>
|
||||
Get Started</RouterLink
|
||||
>
|
||||
</div>
|
||||
|
|
@ -31,8 +34,11 @@
|
|||
import type { District } from "@/type/api";
|
||||
import HeaderCompliance from "@/rmo/components/HeaderCompliance.vue";
|
||||
import ProgressBarCompliance from "@/rmo/components/ProgressBarCompliance.vue";
|
||||
import { useRoutes } from "@/rmo/route/use";
|
||||
interface Props {
|
||||
district: District;
|
||||
publicID: string;
|
||||
}
|
||||
const props = defineProps<Props>();
|
||||
const routes = useRoutes();
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue