Repository navigation
Nuxt dev mode support - #5551
Conversation
|
I have tested this pull request with my more complex nuxt3 apps and have the following comments. // get root dir of nuxt app
const cmdParams = ['dev'];
if(dir.split(process.cwd()).length > 1){
cmdParams.push(dir.split(process.cwd() + '/')[1])
}
const host = new Promise<string>((resolve) => {
const serve = spawn(CLI_COMMAND, cmdParams);
...I have also noticed many URL errors in my more complex apps, the following fix seems to be the way forward: // workaround for non-standard Nuxt URLs
if (queryString.includes("vue&")) {
fetchURL = fetchURL.replace(/\=$/, "").replace(/\=&/, "&");
}However, I still have massive problems for example with tailwind (@nuxtjs/tailwindcss) or with the new dev tool (@nuxt/devtools). I think the problem will also occur with many other use cases, but i have not yet been able to look deeper to find out exactly where the problem lies. |
Thanks for the great feedback! I'll investigate the problems you mentioned. |
I tried a monorepo with Nuxt3 projects and also had issues running it. Turns out the errors were also happening by running the Nuxt project directly, without Firebase. I found the fixes for those errors here: nuxt/nuxt#14146 (comment) Does this fixes your issues with monorepos? If not can you share more details about the errors you had and ways to reproduce it?
I was able to reproduce the errors with For |
|
@leoortizz Regarding the monorepo setup, I currently only tested yarn or npm with workspaces, there the error seems to be different. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #5551 +/- ##
==========================================
+ Coverage 55.68% 55.73% +0.04%
==========================================
Files 322 322
Lines 21812 21830 +18
Branches 4453 4454 +1
==========================================
+ Hits 12147 12166 +19
+ Misses 8597 8596 -1
Partials 1068 1068
... and 2 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
TheIronDev
left a comment
There was a problem hiding this comment.
Approving. I'm Awaiting a James Approval before merging this in.
jamesdaniels
left a comment
There was a problem hiding this comment.
Couple nits, I dropped them in—otherwise let's go!
Co-authored-by: Claudio F <[email protected]> Co-authored-by: James Daniels <[email protected]>
Co-authored-by: Claudio F <[email protected]> Co-authored-by: James Daniels <[email protected]>
Description
Scenarios Tested
Sample Commands