Nuxt/test/fixtures/ssr/pages/asyncComponent.vue

16 lines
215 B
Vue
Raw Normal View History

2017-07-03 18:29:38 +00:00
<template>
<div>
<async-test />
</div>
2017-07-03 18:29:38 +00:00
</template>
<script>
const AsyncTest = () => import('@/components/test.vue').then(m => m.default || m)
2017-07-03 18:29:38 +00:00
export default {
2017-10-31 13:26:19 +00:00
components: {
2017-07-09 21:06:17 +00:00
AsyncTest
2017-07-03 18:29:38 +00:00
}
}
</script>