We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
Got something working with
FlowRouter.route('/dashboard/account/edit', { name: 'dashboard.account.edit', action () { mount(DashboardLayout, { content: () => (<DashboardAccount content={ () => (<DashboardEdit/>) } />) }); } });
Is this the recommended way of approaching this? or what is the correct way to approach this?
Sorry, something went wrong.
@fallenpeace Yeah. This seems like the way it's working now. We may need to work on something simple. May be, it's some more docs.
Hi @fallenpeace - I've have components in props working this way:
authenticatedRoutes.route('/account/profile', { name: 'account.profile', action() { mount(MainLayout, { yield: <Account yield={<ProfileSettings/>} /> }); } });
Hope this helps!
No branches or pull requests
Goals: Mount DashboardAccount inside DashboardLayout, and mount DashboardEdit inside DashboardAccount
What I've tried
ps. using the mantra spec.
The text was updated successfully, but these errors were encountered: