Versions Compared

Key

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

...

http://dcsf-dev08.i-on.net/dxp/basecamp

Basic Structure

  1. No deeper than children of the presentational/ directory.

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

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

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

...