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 44
55 * Your admin is almost ready:
66 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:
88
99 Encore
1010 // ...
1111 .enableReactPreset()
1212 .addEntry('admin', './assets/js/admin.js')
1313
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!
1515
1616 * Using MakerBundle? Try <info>php bin/console make:entity --api-resource</info>
You can’t perform that action at this time.
0 commit comments