File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
api-platform/admin-pack/1.0 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4
4
5
5
* Your admin is almost ready:
6
6
1. Install the JavaScript dependencies by running <comment>yarn add @api-platform/admin</comment>
7
- 2. Go in <comment>webpack.config.js</comment> and <info>uncomment</info> the following lines:
7
+ 2. Edit <comment>webpack.config.js</comment> and <info>uncomment</info> the following lines:
8
8
9
9
Encore
10
10
// ...
11
11
.enableReactPreset()
12
12
.addEntry('admin', './assets/js/admin.js')
13
13
14
- * Mark any entity with the <comment>@ApiResource</comment> annotation, it appears in the admin!
14
+ * Mark entities you want in the admin with the <comment>@ApiResource</comment> annotation, it appears in the admin!
15
15
16
16
* Using MakerBundle? Try <info>php bin/console make:entity --api-resource</info>
You can’t perform that action at this time.
0 commit comments