路由router路由 实现SPA应用的切换 components 放置一般组件 ,pages、views放置路由组件 切换路由时,原组件只是 卸载 ,组件实例仍然存在,需要的时候重新 挂载 简单实例 router/index.ts shenjianZ...大约 7 分钟vuerouter