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
Also, you will need to install Composer: https://getcomposer.org/doc/00-intro.md
22
-
And Laravel: https://laravel.com/docs/6.x/installation
22
+
And Laravel: https://laravel.com/docs/7.x/installation
23
23
24
24
## Installation
25
25
@@ -29,7 +29,7 @@ After initializing a fresh instance of Laravel (and making all the necessary con
29
29
30
30
1.`Cd` to your Laravel app
31
31
2. Install this preset via `composer require laravel-frontend-presets/argon`. No need to register the service provider. Laravel 5.5 & up can auto detect the package.
32
-
3. Run `php artisan preset argon` 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
+
3. Run `php artisan ui argon` 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`
33
33
(NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries in routes/web.php)
34
34
4. In your terminal run `composer dump-autoload`
35
35
5. Run `php artisan migrate --seed` to create basic users table
@@ -42,10 +42,11 @@ After initializing a fresh instance of Laravel (and making all the necessary con
42
42
4. Open `composer.json` file
43
43
5. Add `"LaravelFrontendPresets\\ArgonPreset\\": "presets/argon/src"` to `autoload/psr-4` and to `autoload-dev/psr-4`
44
44
6. Add `LaravelFrontendPresets\ArgonPreset\ArgonPresetServiceProvider::class` to `config/app.php` file
45
-
7. In your terminal run `composer dump-autoload`
46
-
8. Run `php artisan preset argon` 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`
45
+
7. Type in your terminal: `composer require laravel/ui` and `php artisan ui vue --auth`
46
+
8. In your terminal run `composer dump-autoload`
47
+
9. Run `php artisan ui argon` 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`
47
48
(NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries in routes/web.php)
48
-
9. Run `php artisan migrate --seed` to create basic users table
49
+
10. Run `php artisan migrate --seed` to create basic users table
0 commit comments