先贴代码为敬!这块已经按照官方文档配置了多页面,然后路由里配置输出路径.如果在mode:'history'模式下打开本地路径localhost:8080/boss.html是可以正常打开页面的,但如过注释掉mode:'history'采用hash模式,再打开这个页面是找不到的(路径localhost:8080/#/boss.html)
3 回答

添加回答
举报
0/150
提交
取消