Skip to content

Commit b28ee67

Browse files
committed
formatting
1 parent db55bca commit b28ee67

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

UPGRADE.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ Rename the `resources/views/navigation-dropdown.blade.php` file to `navigation-m
9191

9292
#### Authentication Views
9393

94-
In order to use the new Vue based authentication, you will first need to publish a few assets. To do so, run the following command:
94+
Jetstream 2.0's Inertia stack uses Vue based authentication pages. In order to use the new Vue based authentication pages, you will need to publish them using the `vendor:publish` Artisan command:
9595

96-
php artisan vendor:publish --tag=jetstream-v2-inertia-files
96+
php artisan vendor:publish --tag=jetstream-inertia-auth-pages
9797

98-
If you wish to to continue to render your Blade based authentication views in Jetstream 2.x, you should add the following code to the `boot` method of your application's `JetstreamServiceProvider` class:
98+
Or, if you wish to to continue to render your Blade based authentication views in Jetstream 2.x, you should add the following code to the `boot` method of your application's `JetstreamServiceProvider` class:
9999

100100
```php
101101
use Illuminate\Support\Facades\Route;

src/JetstreamServiceProvider.php

+8-8
Original file line numberDiff line numberDiff line change
@@ -165,14 +165,6 @@ protected function configurePublishing()
165165
__DIR__.'/../resources/views' => resource_path('views/vendor/jetstream'),
166166
], 'jetstream-views');
167167

168-
$this->publishes([
169-
__DIR__.'/../stubs/inertia/resources/js/Pages/Auth' => resource_path('js/Pages/Auth'),
170-
__DIR__.'/../stubs/inertia/resources/js/Jetstream/AuthenticationCard.vue' => resource_path('js/Jetstream/AuthenticationCard.vue'),
171-
__DIR__.'/../stubs/inertia/resources/js/Jetstream/AuthenticationCardLogo.vue' => resource_path('js/Jetstream/AuthenticationCardLogo.vue'),
172-
__DIR__.'/../stubs/inertia/resources/js/Jetstream/Checkbox.vue' => resource_path('js/Jetstream/Checkbox.vue'),
173-
__DIR__.'/../stubs/inertia/resources/js/Jetstream/ValidationErrors.vue' => resource_path('js/Jetstream/ValidationErrors.vue'),
174-
], 'jetstream-v2-inertia-files');
175-
176168
$this->publishes([
177169
__DIR__.'/../database/migrations/2014_10_12_000000_create_users_table.php' => database_path('migrations/2014_10_12_000000_create_users_table.php'),
178170
], 'jetstream-migrations');
@@ -186,6 +178,14 @@ protected function configurePublishing()
186178
$this->publishes([
187179
__DIR__.'/../routes/'.config('jetstream.stack').'.php' => base_path('routes/jetstream.php'),
188180
], 'jetstream-routes');
181+
182+
$this->publishes([
183+
__DIR__.'/../stubs/inertia/resources/js/Pages/Auth' => resource_path('js/Pages/Auth'),
184+
__DIR__.'/../stubs/inertia/resources/js/Jetstream/AuthenticationCard.vue' => resource_path('js/Jetstream/AuthenticationCard.vue'),
185+
__DIR__.'/../stubs/inertia/resources/js/Jetstream/AuthenticationCardLogo.vue' => resource_path('js/Jetstream/AuthenticationCardLogo.vue'),
186+
__DIR__.'/../stubs/inertia/resources/js/Jetstream/Checkbox.vue' => resource_path('js/Jetstream/Checkbox.vue'),
187+
__DIR__.'/../stubs/inertia/resources/js/Jetstream/ValidationErrors.vue' => resource_path('js/Jetstream/ValidationErrors.vue'),
188+
], 'jetstream-inertia-auth-pages');
189189
}
190190

191191
/**

0 commit comments

Comments
 (0)