Open J-Sek opened 2 weeks ago
Ultimately I was forced to make a workaround and control nuxt-layout
's name
from app.vue
depending on current route prefix. It seems definePageMeta
is more magical (compiler macro) than common composables and cannot be used if a component uses decorators.
I just spent much more that I wish anybody should have, just to realize that there are too many ways to write code with
definePageMeta
, but only single one works withvue-facing-decorator
.<script>
definePageMeta
above component declarationprivate
andnever
are not relevant)Layouts are quite common feature in Vue and I wonder if I just missed something in Docs or is it in fact missing.
Edit... well, it worked for a while, but restarting Dev server get's stuck again. The error is the source of my frustration as it is hardly pointing to anything specific.