mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
fix(nuxt3): avoid script setup due to mkdist issue
This commit is contained in:
parent
ad24965bbc
commit
a896c64b12
@ -3,7 +3,11 @@
|
||||
<div v-html="html" />
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
<script>
|
||||
import { welcome as welcomeTemplate } from '@nuxt/design'
|
||||
const html = welcomeTemplate({})
|
||||
export default ({
|
||||
computed: {
|
||||
html: () => welcomeTemplate({})
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user