vue-router(路由)的使用
摘要:属性1 path表示监听哪个路由链接地址 属性2 component,表示如果路由是前面匹配到的path,则展示component属性对应的组件,component属性值必须是一个组件模板对象,不能是组件的引用名称 属性3 name,路由名称 一、vue-router 用于渲染匹配到的组件 <rou
阅读全文
posted @ 2019-12-27 15:03
posted @ 2019-12-27 15:03
posted @ 2019-12-26 16:51
posted @ 2019-12-25 11:28