Nuxt/test/fixtures/spa/pages/custom.vue

16 lines
267 B
Vue
Raw Normal View History

2017-10-07 15:24:15 +00:00
<template>
2017-10-28 21:01:46 +00:00
<div>Hello SPA!</div>
2017-10-07 15:24:15 +00:00
</template>
<script>
export default {
layout: 'custom',
created () {
console.log('created') // eslint-disable-line no-console
},
mounted () {
2017-10-31 13:26:19 +00:00
console.log('mounted') // eslint-disable-line no-console
2017-10-07 15:24:15 +00:00
}
}
2017-10-31 13:26:19 +00:00
</script>