-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Laravel Valet like service for Vue CLI projects #1390
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
Comments
This has to be a separate project rather than something provided by vue-cli. Maybe @adamwathan will be interested? ;) |
@yyx990803 what about as part of ui? |
I've created a Laravel Valet custom driver which does this - https://github.com/morrislaptop/WebpackDevServerValetDriver For each domain name, it spins up a webpack dev server on a unique port according to the domain name provided. For example a request to Should be good to go once #1421 is released. |
That sounds pretty neat for Laravel users! |
Not just Laravel users! Valet is pretty general purpose, but it suffers the same fate as Laravel Mix, which is also a very good general purpose tool... |
What problem does this feature solve?
serve
for each projectmy-project.test
instead oflocalhost:8080
What does the proposed API look like?
A single node service which would handle all requests. This service would spin up the dev servers on demand and then proxy requests to each dev server based on the domain name.
If the feature is deemed worthwhile by the community, I'm happy to help start putting this together :)
The text was updated successfully, but these errors were encountered: