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