We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resolve: (name) =>{ const page = require(`./Pages/${name}.vue`); page.layout = Layout return page; },
Layout component has no slot, but the page loads all the same, Basically I cant control when to hide page in the layout.
The text was updated successfully, but these errors were encountered:
That's because you're modifying layout on a promise, so technically your layout is not working in the first place, nothing to do with slots.
layout
Also this is not the right repo for this issue
This is how I do it
resolve: async (name) => { const { default: cmp } = await import( /* webpackExclude: /(\/Partials\/)/ */ /* webpackChunkName: 'page-[request]' */ `./Pages/${name}.vue`); cmp.layout = Layout; return cmp;
Sorry, something went wrong.
No branches or pull requests
Layout component has no slot, but the page loads all the same,
Basically I cant control when to hide page in the layout.
The text was updated successfully, but these errors were encountered: