...
One Component has One Directory end with
.mulmc
.
ex)list
component inlist.mulmc/
If Component is providing many themes, You can implement it to branch in each directory.
Code Block list.mulmc/ index.vue // Implement to do branch impl.js // Implement component business logic multikart.vue // multikart theme template unishop.vue // unishop theme template default.vue // default theme template . .
Register your component to
*.collection.js
.Code Block { [componentId( 'list' )]: registerComponent( () => import( './list.mulmc' ) ), }
Finally, you can use list component as
<reg-list/>
.
How it works
Index Branch Component : **/*.
...
mc
/index.vue
That component has only a script block<script>...</script>
and import theme components in there.
...