Plugin can not extend admin section

I have set up Shopware 6 developer version using your installation guide (Local installation).

After that, I wanted to test installing and extending the admin section through the plugin. I have followed your instructions from your several pages (,,, but Shopware is not recognizing plugin main.js file, no matter what I do.

I have cleared Shopware cache and tried several line commands to refresh admin views, but nothing seems to work.

I have also installed your PayPal plugin for version 6, and this plugin (although by code it should extend some admin section, Settings tab for example), didn’t extend any part.

So, is there some special command which needs to be called in the shop root folder in order to admin view be refreshed, and to included plugins extensions of admin section? Or is there some other way to do this?

The command “php psh.phar administration:build” will include the plugin sass and js files and rebuild the administration. You can also use “php psh.phar administration:watch” to rebuild it on every change automatically.

This documentation will explain it: Shopware 6: Add new module to administration

1 Like