-
Notifications
You must be signed in to change notification settings - Fork 64
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
nuxi start
missing as a part of command cli in v3.7
#113
Comments
I would highly recommend not to use this command to start your production server, in any case. It means you would have to have all your development dependencies installed. Running |
I would recommend the same but this is a breaking change and i believe we should keep alias with a warning till next major version. |
Sure, that makes sense, but normally “start” has conventionally meant starting a production server afaik, perhaps it can just be an alias to node .output/… in the next major version |
Yes, it does just run that command, alongside loading More important, I think, is that ideally you shouldn't have your other dev dependencies installed. There will be many unnecessary megabytes there. |
@danielroe What about the SPA building?
We can't run the command I think |
I am probably speaking ahead of myself and our plans but yes, there might be benefits of supporting (standalone)
For now, please consider directly uploading |
@pi0 In our project we're using Now i've fixed it with:
but like this we need to have installed npx globally (i know it's installed by default but with the command Just, having one command to manage both ssr and spa modes it's also something i can bring on every project.
But yes ok, i can understand your plans 😄 |
Thanks for sharing your usecases @LuXDAmore it definitely helps to make decition about start command 👍🏼 |
I still don't understand why this has been dropped in a non-major version. There are recommendations and there is semantic versioning 🙂. |
It was a mistake and has already been reverted. |
Alright, can it be deployed to npm? 😊 |
It is. You can already try it out with |
In the previous versions of nuxt, I was using
nuxt start
to start my production server, though I did later find out it's just an alias tonuxt preview
after looking at the source code. It is convenient to have this alias though, could we add this back?The text was updated successfully, but these errors were encountered: