amplitudes
Nuxt build error (At least one <template> or <script> is required in a single file component)
Think I've found a workaround for now, setting
"@vue-macros/nuxt": "1.11.6"
in my package.json, deleting the lockfile, then reinstalling seems to stop it from erroring19 replies
Nuxt build error (At least one <template> or <script> is required in a single file component)
I have a feeling it could be vue-macros due to the nature of it modifying the compiler, though I haven't looked into it much as it's used heavily in my project, so removing it for testing would be quite a chore
19 replies
Nuxt build error (At least one <template> or <script> is required in a single file component)
When adding a console.log of the
descriptor
object into the Vue compiler where the error is thrown, you can see the defineAsyncComponent, which never gets resolved:
19 replies