cosy-client

0.1.8 • Public • Published

cosy-boot

Build Status

This library is used client side and by cosy-core in order to register and expose components.

Purpose

This library is responsible for registering components and module on a page. It supports nested modules and nested apps.

Basic Cases

####One module, one component
-
|-- MODULE
    |---- COMPONENT
####1 module, 2 components
-
|-- MODULE
    |---- COMPONENT
    |
    |---- COMPONENT
####2 Modules, 2 components
-
|-- MODULE
|    |---- COMPONENT
|    |
|    |---- COMPONENT
|
|-- MODULE
    |---- COMPONENT
    |
    |---- COMPONENT

Nested Cases

3 Modules (one nested), 2 components each

-
|-- MODULE
    |---- COMPONENT
    |
    |---- COMPONENT
    |
    |-- MODULE
        |
        |---- COMPONENT
        |
        |---- COMPONENT
    |
    |-- MODULE
        |
        |---- COMPONENT
        |
        |---- COMPONENT

3 Modules (all nested), 2 components each

-
|-- MODULE
    |---- COMPONENT
    |
    |---- COMPONENT
    |
    |-- MODULE
        |
        |---- COMPONENT
        |
        |---- COMPONENT
        |
        |-- MODULE
            |
            |---- COMPONENT
            |
            |---- COMPONENT

Nested Components Cases

-
|-- MODULE
    |---- COMPONENT
            |---- COMPONENT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.8
    2
    • latest

Version History

Package Sidebar

Install

npm i cosy-client

Weekly Downloads

2

Version

0.1.8

License

MIT

Last publish

Collaborators

  • dervalp