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
24
-
And Laravel: https://laravel.com/docs/6.x/installation
24
+
And Laravel: https://laravel.com/docs/7.x/installation
25
25
26
26
## Installation
27
27
@@ -31,7 +31,7 @@ After initializing a fresh instance of Laravel (and making all the necessary con
31
31
32
32
1.`Cd` to your Laravel app
33
33
2. Install this preset via `composer require laravel-frontend-presets/material-dashboard`. No need to register the service provider. Laravel 5.5 & up can auto detect the package.
34
-
3. Run `php artisan preset material` 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
+
3. Run `php artisan ui material` 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`
35
35
(NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries in routes/web.php)
36
36
4. In your terminal run `composer dump-autoload`
37
37
5. Run `php artisan migrate --seed` to create basic users table
@@ -44,10 +44,11 @@ After initializing a fresh instance of Laravel (and making all the necessary con
44
44
4. Open `composer.json` file
45
45
5. Add `"LaravelFrontendPresets\\MaterialPreset\\": "presets/material/src"` to `autoload/psr-4` and to `autoload-dev/psr-4`
46
46
6. Add `LaravelFrontendPresets\MaterialPreset\MaterialPresetServiceProvider::class` to `config/app.php` file
47
-
7. In your terminal run `composer dump-autoload`
48
-
8. Run `php artisan preset material` command to install the Material 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 material` command to install the Material 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
50
(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
51
+
10. Run `php artisan migrate --seed` to create basic users table
0 commit comments