vue-router问题,执行完命令,views文件没加进来

来源:4-3 集成路由vue-router

Fernwehs

2020-06-26

E:\IdeaProjects\course\admin>npm install --save vue-router
[…] / rollbackFailedOptional: verb npm-session d9619ffd4a433[ …] | loadExtraneous: sill removeObsoleteDep removing vunpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\watchpack-chokidar2\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\webpack-dev-server\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”})

  • vue-router@3.3.4
    updated 1 package and audited 1257 packages in 144.053s

45 packages are looking for funding
run npm fund for details

found 0 vulnerabilities

写回答

1回答

甲蛙

2020-06-27

日志里打印vue-router@3.3.4,显示已经引入vue-router

你说的views文件是指什么呢?

课程中我用的是router.js,这个文件是从其它项目拷过来的,你可以收藏起来,以后有其它项目直接拷过去用就可以了

0
1
Fernwehs
非常感谢!
2020-07-02
共1条回复

Spring Cloud+ Vue前后端分离开发企业级在线视频系统

全网稀缺课程 市场热门项目+主流框架 一课掌握前后端技术

1743 学习 · 1698 问题

查看课程