...
http://dcsf-dev08.i-on.net/dxp/basecamp
Basic Structure
No deeper than children of the
presentational/
directory.One Component has One Directory
end with .mc. ( Multi-Component, Mutable Component )ex) list component in list.mc/If Component is providing many themes, You can implement it to branch in each directory.
Code Block list.mc/ 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.mc' ) ), }
Finally, you can use list component as
<reg-list/>
.
...