Your main application should export some interface for the plugin to add its components to the application or your plugin should export some interface for the main application to offer its components. You may access the parents members as usual of course, but you can encounter many problems when trying to change the structure of your app.