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

[1.x] Add default view / routes reloading to breeze stacks #166

Merged
merged 1 commit into from
Jul 1, 2022

Conversation

timacdonald
Copy link
Member

@timacdonald timacdonald commented Jul 1, 2022

This PR makes all the breeze stacks come with the default Laravel watching configuration out of the box.

As it stands, this will perform a full page refresh while running npm run dev and saving files within the following directories:

resources/views/**
routes/**

The configured directories can still be manually configured if needed.

I believe this makes sense in all of these stacks as Inertia AND Ziggy are utilised, so this default refresh config should be a benefit to all the stacks.

Tested stacks:

  • Blade
  • Vue
  • Vue --ssr
  • React
  • React --ssr

See: laravel/vite-plugin#43

@timacdonald timacdonald requested a review from jessarcher July 1, 2022 03:24
@taylorotwell taylorotwell merged commit 9543c6a into 1.x Jul 1, 2022
@taylorotwell taylorotwell deleted the blade-routes-reload branch July 1, 2022 20:42
slimani-dev pushed a commit to slimani-dev/breeze that referenced this pull request Jan 21, 2023
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