NuxtN
Nuxt9mo ago
9 replies
d4vv

[Vue warn]: Component <Anonymous> is missing template or render function.

Hi guys!

I have multiple warnings in Nuxt - because of the spline-viewer... not sure why I got them... I created spline-viewer.clitent.ts plugin + added rule in nuxt.cfg

export default defineNuxtConfig({ // plugins plugins: ['~/plugins/spline-viewer.client.ts'], // compiler options vue: { compilerOptions: { isCustomElement: (tag) => { return tag === 'spline-viewer'; } } }, })

Any ideas what else I should do?
image.png
Was this page helpful?