Skip to content
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

Support Custom URL for Browser Open in Development Mode (nuxt dev -o) #187

Open
1 task done
littleCareless opened this issue Jan 7, 2025 · 0 comments
Open
1 task done
Labels
enhancement New feature or request

Comments

@littleCareless
Copy link

Describe the feature

Description:
It would be great if the open option in development mode (nuxt dev -o) could support opening a custom URL or path in the browser. Currently, it always opens the root path (/). This enhancement would provide greater flexibility and improve developer experience, especially when working with environments that use a reverse proxy (e.g., Nginx).

Use Case:
When developing under a reverse proxy setup, the default root path might not be the desired entry point. For example, developers may need to test a specific subpath that maps to a proxied service. Allowing a custom URL or path to be passed to the open option would save time and streamline the development workflow.

Proposed Solution:
Add support for a custom URL parameter to the open option. For example:

nuxt dev -o /custom-path
# or
nuxt dev -o http://custom-domain.com/custom-path

Benefits:

Improved development experience (UX) in environments with reverse proxy setups.
Increased flexibility for testing specific subpaths or URLs during development.
Looking forward to your consideration of this feature. Thank you! 😊

Additional information

  • Would you be willing to help implement this feature?
@littleCareless littleCareless added the enhancement New feature or request label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant