fix(nuxt3): avoid script setup due to mkdist issue

This commit is contained in:
Pooya Parsa 2021-10-12 15:56:47 +02:00
parent ad24965bbc
commit a896c64b12

View File

@ -3,7 +3,11 @@
<div v-html="html" /> <div v-html="html" />
</template> </template>
<script setup> <script>
import { welcome as welcomeTemplate } from '@nuxt/design' import { welcome as welcomeTemplate } from '@nuxt/design'
const html = welcomeTemplate({}) export default ({
computed: {
html: () => welcomeTemplate({})
}
})
</script> </script>