You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,11 +30,12 @@ After initializing a fresh instance of Laravel (and making all the necessary con
30
30
### Via composer
31
31
32
32
1.`Cd` to your Laravel app
33
-
2. Install this preset via `composer require laravel-frontend-presets/light-bootstrap`. No need to register the service provider. Laravel 5.5 & up can auto detect the package.
34
-
3. Run `php artisan preset light-bootstrap` command to install the Light Bootstrap preset. This will install all the necessary assets and also the custom auth views, it will also add the auth route in `routes/web.php`
33
+
2. Type in your terminal: `composer require laravel/ui` and `php artisan ui vue --auth`
34
+
3. Install this preset via `composer require laravel-frontend-presets/light-bootstrap`. No need to register the service provider. Laravel 5.5 & up can auto detect the package.
35
+
4. Run `php artisan ui light-bootstrap` command to install the Light Bootstrap preset. This will install all the necessary assets and also the custom auth views, it will also add the auth route in `routes/web.php`
35
36
(NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries in routes/web.php)
36
-
4. In your terminal run `composer dump-autoload`
37
-
5. Run `php artisan migrate --seed` to create basic users table
37
+
5. In your terminal run `composer dump-autoload`
38
+
6. Run `php artisan migrate --seed` to create basic users table
38
39
39
40
### By using the archive
40
41
@@ -44,10 +45,11 @@ After initializing a fresh instance of Laravel (and making all the necessary con
44
45
4. Open `composer.json` file
45
46
5. Add `"LaravelFrontendPresets\\LightBootstrapPreset\\": "presets/light-bootstrap/src"` to `autoload/psr-4` and to `autoload-dev/psr-4`
46
47
6. Add `LaravelFrontendPresets\LightBootstrapPreset\LightBootstrapPresetServiceProvider::class` to `config/app.php` file
47
-
7. In your terminal run `composer dump-autoload`
48
-
8. Run `php artisan preset light-bootstrap` command to install the Light Bootstrap preset. This will install all the necessary assets and also the custom auth views, it will also add the auth route in `routes/web.php`
48
+
7. Type in your terminal: `composer require laravel/ui` and `php artisan ui vue --auth`
49
+
8. In your terminal run `composer dump-autoload`
50
+
9. Run `php artisan ui light-bootstrap` command to install the Light Bootstrap preset. This will install all the necessary assets and also the custom auth views, it will also add the auth route in `routes/web.php`
49
51
(NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries in routes/web.php)
50
-
9. Run `php artisan migrate --seed` to create basic users table
52
+
10. Run `php artisan migrate --seed` to create basic users table
0 commit comments