#jetstream upgrading (2.16 -> 4.0)

2 messages · Page 1 of 1 (latest)

glass hare
#

Hello everyone,

as the title says I am upgrading my project with jetstream 2.16 to version 4.0 Before I instantly jump to 4.0 I follow the upgrade guide (https://github.com/laravel/jetstream/blob/4.x/UPGRADE.md#upgrading-from-jetstream-2x-to-jetstream-3x) to go to 3.0 first. In my project, I have a folder: resources/views/vendor/jetstream which contains 3 files i only want to move further when upgrading. The guide says to publish all the views and move these to the the resources/views/components folder and then rename it all from x-jet-... to x-... When I skip the step of publishing all the views and proceed with the guide. I do get the error for example: unable to locatie a class or view for component [switchable-team]. Is there a way to bypass publishing all the views?

GitHub

Tailwind scaffolding for the Laravel framework. Contribute to laravel/jetstream development by creating an account on GitHub.

glass hare
#

The docs do say:
Before upgrading, you should publish all of Jetstream's views using the vendor:publish Artisan command. You may skip this step if you have already published Jetstream's views:. It does say all, but I find it quite wack.