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

13 lines
219 B
Vue
Raw Normal View History

2017-10-07 09:07:52 +00:00
<template>
2017-10-28 21:01:46 +00:00
<div>Hello SPA!</div>
2017-10-07 09:07:52 +00:00
</template>
<script>
export default {
mounted () {
2017-10-07 09:07:52 +00:00
window.indexMounted = (+window.indexMounted) + 1
2017-10-31 13:26:19 +00:00
console.log('mounted') // eslint-disable-line no-console
2017-10-07 09:07:52 +00:00
}
}
2017-10-31 13:26:19 +00:00
</script>