histroy部署项目

       #alias后面要加上/
        #location  后面加上/app/表示直接输入进入/首页路由
        #history需要定义base:'/app/'和publicPath:'/app/'
        #try_files  $uri $uri/ /app/index.html;

你可能感兴趣的:(histroy部署项目)