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-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,11 +27,12 @@ After initializing a fresh instance of Laravel (and making all the necessary con
27
27
### Via composer
28
28
29
29
1.`Cd` to your Laravel app
30
-
2. Install this preset via `composer require laravel-frontend-presets/now-ui-dashboard`. No need to register the service provider. Laravel 5.5 & up can auto detect the package.
31
-
3. Run `php artisan ui nowui` command to install the NowUI 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`
30
+
2. Type in your terminal: `composer require laravel/ui` and `php artisan ui vue --auth`
31
+
3. Install this preset via `composer require laravel-frontend-presets/now-ui-dashboard`. No need to register the service provider. Laravel 5.5 & up can auto detect the package.
32
+
4. Run `php artisan ui nowui` command to install the NowUI 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
33
(NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries in routes/web.php)
33
-
4. In your terminal run `composer dump-autoload`
34
-
5. Run `php artisan migrate --seed` to create basic users table
34
+
5. In your terminal run `composer dump-autoload`
35
+
6. Run `php artisan migrate --seed` to create basic users table
35
36
36
37
### By using the archive
37
38
@@ -41,8 +42,8 @@ After initializing a fresh instance of Laravel (and making all the necessary con
41
42
4. Open `composer.json` file
42
43
5. Add `"LaravelFrontendPresets\\NowUiPreset\\": "presets/NowUi/src"` to `autoload/psr-4` and to `autoload-dev/psr-4`
43
44
6. Add `LaravelFrontendPresets\NowUiPreset\NowUiPresetServiceProvider::class` to `config/app.php` file
44
-
7.In your terminal run `composer dump-autoload`
45
-
8.TYpe in your terminal: `composer require laravel/ui` and `php artisan ui vue --auth`
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`
46
47
9. Run `php artisan ui nowui` command to install the NowUI 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
49
10. Run `php artisan migrate --seed` to create basic users table
0 commit comments