Skip to content

Mount component inside mounted component? #5

Description

@fallenpeace

Goals: Mount DashboardAccount inside DashboardLayout, and mount DashboardEdit inside DashboardAccount

What I've tried

FlowRouter.route('/dashboard/account/edit', {
  name: 'dashboard.account.edit',
    action () {
      mount(DashboardLayout, {
         content: () => (<DashboardAccount />)
      });
      mount(DashboardAccount, {
        content: () => (<DashboardEdit />)
      });
    }
  });

ps. using the mantra spec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions