打开router文件下的index.js文件
之后访问http://localhost:8080/#/index就可以了
访问成功~
vue配置路由
原文:https://www.cnblogs.com/zrn-php/p/10400005.html