Skip to content

Commit a9267f1

Browse files
authored
Update README.md
Added yarn asset build step to the documentation
1 parent 316c740 commit a9267f1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,12 @@ Features::profilePhotos(),
151151
```shell
152152
php artisan migrate
153153
php artisan db:seed --class SeedAdminRoleAndUser
154+
```
155+
11. Now build the npm dependencies using `vitejs`:
156+
```sh
157+
yarn dev #Start the vitejs development server
158+
yarn build #build assets for production
159+
154160
```
155161
:rocket: You are now ready to generate your CRUDs!:tada:
156162
## Usage
@@ -199,7 +205,7 @@ php artisan jig:generate --help
199205
The command above will generate a number of files and add routes to both your `api.php` and `web.php` route files. It will also append menu entries to the published `Menus.json` file.
200206
The generated vue files are placed under the Pages/Books folder in the js folder.
201207

202-
* Finally, run `yarn watch, yarn dev or yarn prod` to compile the assets. There you have your CRUD.
208+
* Finally, run `yarn dev or yarn build` to compile the assets. There you have your CRUD.
203209
## Roles, permissions and Sidebar Menu:
204210
* By Default, generation of a module generates the following permissions:
205211
- index

0 commit comments

Comments
 (0)