regularjs / regular-state

regular router based on stateman
http://regularjs.github.io/regular-state/
MIT License
13 stars 9 forks source link

r-view应该支持内嵌组件 #6

Closed leeluolee closed 6 years ago

leeluolee commented 6 years ago

比如组件


const Component = Regular.exnted({
  name: 'Component',
  template: `
      <div r-view > Nest Component with r-view </div>
 `
})

const Module = Regular.extend({
  template: `
    <Component />
 `
})

这个Module 作为路由模块,这个r-view就不生效了