I have an existing Angular application with a single module which is part of a bigger django application. As of now, I have an editor component (the root component) which are included like this:
<!-- edit.html -->
<editor></editor>
I now have to implement detail component which shall be completely independent from the editor component, but also include some of the components the editor uses as child components.
<!-- detail.html -->
<detail></detail>
But when I create a new components and add it to the [bootstrap] section of the app.module.ts file, I'll get an Error:
'The selector <editor> did not match any elements'.
So this alone seems not to be sufficient. Do I need a whole new application? A new module? Can I still use any existent non-root components with either solution?
Oh, and if this makes a difference: I use webpack.