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

16 lines
214 B
Vue

<template>
<div>
<AsyncTest />
</div>
</template>
<script>
const AsyncTest = () => import('@/components/test.vue').then(m => m.default || m)
export default {
components: {
AsyncTest
}
}
</script>