Skip to content

Support developing multiple components locally #85

@eladav

Description

@eladav

We want to allow users to have multiple components run in dev mode. The solution we suggest is to create a "workspace" mode for dcm that will bundle all components in the workspace. In the host app side you'll need to set either all the components you want to have in dev mode to be in dev mode or set a property that initializes the client in dev mode.

The suggested workflow is:
User sets Dynamico client to dev mode (the react client).
Loads dcm with a workspace configuration.
dcm scans the workspace and bundles and serves every folder with a package.json.
The host app tries to load a component locally and if it fails to get a proper response (or gets a dedicated response) tries to download it from the public registry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions