0👍
if you managing your routes with name in separate file like router.js then you can use below code with required parameters to route your view.
<button :to="{ name: 'projects.create' }" class="rounded-full text-center pt-1" pill > click </button>
or you can use simply
<a :href="`/projects/${project.id}/environments/${ env.id }`" ="text-dark">
Source:stackexchange.com