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

14 lines
240 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',
2017-10-31 13:26:19 +00:00
mounted() {
2017-10-07 15:24:15 +00:00
window.customMounted = (+window.customMounted) + 1
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>