We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Description
I'm using Ziggy with on a Laravel/Vue project. I installed and configured ziggy as per the documentation, .i.e
@routes <script src="{{ mix('/js/app.js') }}" defer></script>
My app.js looks like:
import { createApp, h } from 'vue' const app = createApp({ // ... }) app.mixin({ methods: { route: window.route } })
Every looks good, except my routes are missing the port number. instead of: localhost:8000/home, I have: localhost/home
How can I configure it to add the port number (when I'm using on my local machine)? Thanks
Environment
The text was updated successfully, but these errors were encountered:
@fsavalam for now as a quick fix, it should work if you add :8000 to your APP_URL environment variable.
:8000
APP_URL
It seems like #334 may have broken automatic support for ports... I'll look into that.
Sorry, something went wrong.
Thanks
bakerkretzmar
Successfully merging a pull request may close this issue.
Description
I'm using Ziggy with on a Laravel/Vue project. I installed and configured ziggy as per the documentation, .i.e
My app.js looks like:
Every looks good, except my routes are missing the port number.
instead of: localhost:8000/home,
I have: localhost/home
How can I configure it to add the port number (when I'm using on my local machine)?
Thanks
Environment
The text was updated successfully, but these errors were encountered: