mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +00:00
22 lines
308 B
Vue
22 lines
308 B
Vue
<template lang="md">
|
|
# Hello World!
|
|
|
|
Current route is: {{ $route.path }}
|
|
|
|
Data model is: {{ model }}
|
|
|
|
<NuxtLink to="/about">Goto About</NuxtLink>
|
|
|
|
<NuxtLink to="/pug">Goto Pug</NuxtLink>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
model: 'I am index'
|
|
}
|
|
}
|
|
}
|
|
</script>
|