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
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ If you don't already have an Apache local environment with PHP and MySQL, use on
20
20
21
21
Also, you will need to install Composer: https://getcomposer.org/doc/00-intro.md
22
22
23
-
And Laravel: https://laravel.com/docs/6.x/installation
23
+
And Laravel: https://laravel.com/docs/7.x/installation
24
24
25
25
## Installation
26
26
@@ -29,11 +29,12 @@ After initializing a fresh instance of Laravel (and making all the necessary con
29
29
### Via composer
30
30
31
31
1.`Cd` to your Laravel app
32
-
2. Install this preset via `composer require laravel-frontend-presets/white-dashboard`. No need to register the service provider. Laravel 5.5 & up can auto detect the package.
33
-
3. Run `php artisan preset white` command to install the Argon 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`
32
+
2. Type in your terminal: `composer require laravel/ui` and `php artisan ui vue --auth`
33
+
3. Install this preset via `composer require laravel-frontend-presets/white-dashboard`. No need to register the service provider. Laravel 5.5 & up can auto detect the package.
34
+
4. Run `php artisan ui white` command to install the Argon 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`
34
35
(NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries in routes/web.php)
35
-
4. In your terminal run `composer dump-autoload`
36
-
5. Run `php artisan migrate --seed` to create basic users table
36
+
5. In your terminal run `composer dump-autoload`
37
+
6. Run `php artisan migrate --seed` to create basic users table
37
38
38
39
### By using the archive
39
40
@@ -43,10 +44,11 @@ After initializing a fresh instance of Laravel (and making all the necessary con
43
44
4. Open `composer.json` file
44
45
5. Add `"LaravelFrontendPresets\\WhitePreset\\": "presets/white/src"` to `autoload/psr-4` and to `autoload-dev/psr-4`
45
46
6. Add `LaravelFrontendPresets\WhitePreset\WhitePresetServiceProvider::class` to `config/app.php` file
46
-
7. In your terminal run `composer dump-autoload`
47
-
8. Run `php artisan preset white` command to install the White Dashboard 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`
47
+
7. Type in your terminal: `composer require laravel/ui` and `php artisan ui vue --auth`
48
+
8. In your terminal run `composer dump-autoload`
49
+
9. Run `php artisan ui white` command to install the White Dashboard 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
50
(NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries in routes/web.php)
49
-
9. Run `php artisan migrate --seed` to create basic users table
51
+
10. Run `php artisan migrate --seed` to create basic users table
0 commit comments