vue history 路由模式打包发布到服务器设置

要求描述 页面访问地址 首页:https://hello.haha.com/world 用户中心 :https://hello.haha.com/world/user 路由设置 路由配置js 设置 mode 为history ,这样会去掉#号 和正常的路由地址一样 export default new Router({ mode: 'history', routes: [ {
相关文章
相关标签/搜索