![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue总结
lsy173176
这个作者很懒,什么都没留下…
展开
-
vue的组件详细总结
vue的组件详细总结创建一个组件 Vue.component('组件的标签',{ template: '模板内容' }) // 例如 定义一个子组件 Vue.component('child',{ template: '<div></div>' }) // 定义一个父组件 将子组件在父组件...原创 2020-01-11 12:03:43 · 144 阅读 · 0 评论 -
vue的路由详细总结
vue的路由详细总结路由分为 编程式路由和声明式路由定义路由对象const router = new VueRouter({ routes:[ { path: '/', name: '', // redirect: '/index', 路由重定向的位置(意思就是要把页面定向到哪一个页面) ...原创 2020-01-11 12:01:52 · 270 阅读 · 0 评论