Skip to content

Commit eb33f73

Browse files
authored
Update auth command
1 parent 41964e8 commit eb33f73

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,18 @@ class User extends Authenticatable
4545
use HasRoles;
4646
}
4747
```
48-
#Applly Rules on Route
48+
#To see demo got to ```/admin/permissions```
4949

50+
# Note : Before Install and use this package run below command
51+
Before Laravel version 6.0
5052
```
51-
Route::group(['middleware'=>['role:admin|manager']],function(){
52-
Route::get('/permissions', function(){
53-
return "Permission Working";
54-
});
55-
});
53+
php artisan make:auth
5654
```
57-
58-
# Note : Before Install and use this package run below command
55+
After Laravel Version
5956

6057
```
61-
php artisan make:auth
58+
1. composer require laravel/ui
59+
2. php artisan ui vue --auth
60+
3. npm install
61+
4. npm run watch
6262
```

0 commit comments

Comments
 (0)