3.前端布局分析

3.前端布局分析
index.html:
只有一个#app的div, 全部渲染到这个#app div里去
3.前端布局分析
main.js :
负责渲染#app,main.js里又有很多components组成,还有路由router
3.前端布局分析
router下的index.js下定义的路由:

App.vue :
是所有components的根组件,有一个父路由 < router-view> < /router-view>
3.前端布局分析
再来看路由

3.前端布局分析
Layout的子组件:
3.前端布局分析

相关文章:

  • 2021-09-13
  • 2022-12-23
  • 2021-11-19
  • 2021-11-19
  • 2021-11-29
  • 2021-11-29
  • 2021-11-29
猜你喜欢
  • 2021-11-04
  • 2021-08-01
  • 2022-03-04
  • 2021-09-08
  • 2021-11-19
  • 2021-11-11
相关资源
相似解决方案