mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-04 19:37:18 +00:00
19 lines
307 B
Vue
19 lines
307 B
Vue
<template>
|
|
<div class="container">
|
|
<h1>Dynamic route example</h1>
|
|
<h2>Projects list</h2>
|
|
<p>
|
|
<router-link :to="{ name: 'projects-slug', params: { slug: 'nuxt.js'} }">
|
|
Nuxt.js
|
|
</router-link>
|
|
</p>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
p
|
|
{
|
|
text-align: center;
|
|
}
|
|
</style>
|