Vue.js搭建路由报错 router.map is not a function

我使用npm install vue-router@0.7.13 命令兼容1.0版本vue,结果出现

D:\project>npm install vue-router@0.7.13
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

不知道什么意思,怎么解决

qq__8222
浏览 1893回答 1
1回答

Caballarii

warn而已,又不影响你运行
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Vue.js