摘要:        
为对应的组件路径添加name属性 // 创建 VueRouter 对象 const router = new VueRouter({ // 编写路由规则 routes: [ {path:'/',redirect:'/login'},//默认组件 redirect:重定向到指定组件 { path: "    阅读全文
posted @ 2021-12-23 09:35
搬砖丶
阅读(46)
评论(0)
推荐(0)
        
            
        
        
摘要:        
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <!--开发环境--> <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/v    阅读全文
posted @ 2021-12-23 09:32
搬砖丶
阅读(45)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号