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