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

fix cors policy errors with inertia stack #797

Merged
merged 2 commits into from
May 31, 2021
Merged

fix cors policy errors with inertia stack #797

merged 2 commits into from
May 31, 2021

Conversation

ArielMejiaDev
Copy link
Contributor

Description

on inertia stack a when you run npm install && npm run watch if you work with .test domains like Laravel Valet add, the watcher does not add live reload with browserSync you must work with localhost ip to work with vue components.

to avoid this by adding this tag on app.blade.php file on inertia stack it would reload .test domains as it is a localhost domain.

How it help the end user

it avoid confusion on why vue components does not reload using browserSync by default, and make easier the workflow with inertia and of course with jetstream.

@taylorotwell taylorotwell merged commit 63662dd into laravel:2.x May 31, 2021
DSpeichert added a commit to DSpeichert/jetstream that referenced this pull request Sep 16, 2021
Attempting to load browser-sync-client.js without it being used in
Jetstream by default results in blocked JS execution until timeout.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants