This is the context: I have two separate projects that have a common layer of components.
Both projects are on gitlab on separate repos and both have gitlab CI pipelines that helps us with deploy.
In project 1 (the builder)
we have a layer of components that we can rearrange and reposition.
In project 2
we use the same layer to display those components in their respective position / order as we set it on builder.
Right now, when we do modifications on those components, we just copy/paste them over builder project so we can ensure the exact same thing is shown on both sides.
I would like to take that layer of components and move it outside and import it in those 2 projects. I just don't know where i should start to do this and if this is possible to work with current CI flow we have
Something like:
<!-- ON THE BUILDER -->
<div class="builder">
<div class="other-stuff"></div>
<components-layer>
<component-one :editable="true" />
<component-two :editable="true" />
<component-three :editable="true" />
</components-layer>
</div>
<!-- ON THE CLIENT VIEW -->
<div class="client-view">
<div class="bla-bla-stuff"></div>
<components-layer>
<component-one />
<component-two />
<component-three />
</components-layer>
</div>