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