vue-router-v3

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

When to use this skill

何时使用此技能

Use this skill whenever the user wants to:
  • Install and configure Vue Router v3
  • Implement routing patterns for Vue 2 applications
  • Use navigation guards, history mode, or lazy-loading routes
  • Reference Vue Router v3 API details
当用户有以下需求时,可使用本技能:
  • 安装和配置Vue Router v3
  • 为Vue 2应用实现路由模式
  • 使用导航守卫、history模式或懒加载路由
  • 查阅Vue Router v3的API细节

How to use this skill

如何使用此技能

  1. Identify the topic from the user request.
  2. Open the matching guide example file in
    examples/
    .
  3. For API details, open the matching file in
    api/
    .
  4. Follow official guidance and keep outputs consistent with v3 docs.
  1. 从用户的请求中确定主题
  2. 打开
    examples/
    目录下对应的指南示例文件
  3. 若需查询API细节,打开
    api/
    目录下对应的文件。
  4. 遵循官方指引,确保输出内容与v3文档保持一致。

Installation mapping

安装文档映射

Guide mapping (one-to-one with https://v3.router.vuejs.org/guide/)

Essentials
Advanced
基础内容
进阶内容

Resources

参考资源

Keywords

关键词

vue-router v3, vue 2 router, routing, navigation guards, history mode, router-link, router-view, route config, route object
vue-router v3, vue 2 router, 路由, 导航守卫, history模式, router-link, router-view, 路由配置, 路由对象