Can i use routable in home page?

when i need home page to use routable as that how i need do?

{
path: ‘/’,
component: MainView ,
tabs: [{
path: ‘/’,
// redirect:’/meetingList/’,
id: ‘meetingList’,
component: MeetingTab,
}, {
path: ‘/mine/’,
id: ‘mine’,
component: Mine,
}]
}

你可以初始化mainview时传入route作参数,参考首页采用组件方

没有听得明白,能说的更加详细一点吗?谢谢

说明文档里有大概是
routes先定义好,然后

mv=app.view.create({path:’/routablepage’})
手机回复见谅

好滴,谢谢哈~,找到解决办法了~~~~~

Kindly read through this:

https://framework7.io/docs/view.html#initial-page-route

You will understand fully

1 Like

thank you very much~