-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
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
Refactor: NuxtFramework
#556
Conversation
Title looks good, Nice PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coould you use the NextFramework class that you copied (instead of duplicating), and just edit the build dir, if it's really a different one.
@melloware did you check it works?
I am not familiar with Nuxt but I assume its different than Next? |
It's a different framework, but the logic for detection seems to be similar |
At least from the PR code, I am not familiar with it either. |
Oh i see what you are saying its so similar to Next should we refactor these two to be similar and just override the |
yes and the build dir needs to be checked |
From what you are saying, it looks to me that Nuxt is a regular (generic) framework. @melloware could you have a look? |
c1e34a9
to
1a79ca6
Compare
Refractor: NuxtFramework
@shivam-sharma7 I don't understand what with Nuxt is NOT working with the current code? NUXT(Set.of("nuxt dev"), generic("dist", "dev", 3000)), |
@shivam-sharma7 Using the current 2.2.1 plugin Nuxt works out of the box. Attached zip: Unzip the project and Run |
Something you can do though is print some Warning if no "build" is found on the GenericFramework. |
Check List (Check all the applicable boxes)