vue3 router安装
时间: 2023-09-12 19:12:29 浏览: 100
为了在Vue 3中安装Vue Router,你需要运行以下命令来安装最新版本的Vue Router:
```
npm i vue-router@next -S
```
这将安装最新版本的Vue Router并将其添加到你的项目依赖中。引用<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [VUE3 ——安装vue-router](https://blog.csdn.net/CSSAJBQ_/article/details/123697460)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [一文详解:Vue3中使用Vue Router](https://blog.csdn.net/w137160164/article/details/131152766)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文