Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. One Component has One Directory end with .mc. ( Multi-Component, Mutable Component )
    ex) list component in list.mc/

  2. 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
      .
      .
  3. Register your component to *.collection.js .

    Code Block
    {
      [componentId( 'list' )]: registerComponent( () =>
        import( './list.mc' )
      ),
    } 
  4. Finally, you can use list component as <reg-list/> .

...