Only create assets if component is included (on install)

In cases users are only running a backend application, for example,
there's no need to add frontend assets as it would only break user
application