Uh oh!
There was an error while loading. Please reload this page.
feat(kit): add addLayout - #5537
Conversation
✅ Deploy Preview for nuxt3-docs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
pi0
commented
Jun 20, 2022
I think this PR is introducing a new feature :) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
addLayout4c281b4 to
b5856aaCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: pooya parsa <pyapar@gmail.com>
sppmstar
commented
Jun 27, 2022
when will this update be published ? |
atinux
commented
Jun 27, 2022
You can already play with it using the edge channel @sppmstar : https://v3.nuxtjs.org/guide/going-further/edge-channel |
sppmstar
commented
Jun 28, 2022
@atinux I have a nuxt module generated by nuxi. I tried the edge channel approach documented in the link you shared with me, but when i run |
atinux
commented
Jun 29, 2022
Can you try with: "@nuxt/kit": "npm:@nuxt/kit-edge@latest" |
sppmstar
commented
Jun 29, 2022
That worked! thanks a lot :) |
🔗 Linked issue
❓ Type of change
resolvesnuxt/nuxt#14181
📚 Description
This adds a Nuxt 3 implementation for
this.addLayoutand also exports it as a standalone util. Happy to go in the other direction and reconsider the standalone utility (or even deprecate the module container util), but if we have it, we might as well make it available and working on nuxt 3.📝 Checklist