# test-auto-deploy **Repository Path**: fengxiefun/test-auto-deploy ## Basic Information - **Project Name**: test-auto-deploy - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-01-06 - **Last Updated**: 2024-02-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Vue-router 基本原理 ## Hash 模式 - URL 中 # 后面的内容作为路径地址 - 监听 hashchange 事件 - 根据当前路由地址找到对应组件重新渲染 ## History 模式 - 通过 history.pushState() 方法改变地址栏 - 监听 popstate 事件 - 根据当前路由地址找到对应组件重新渲染