RBqingkong
Results
2
comments of
RBqingkong
 版本:1.9.2 环境:MAC node v14.3.0 npm v6.14.5 nginx/1.17.9 问题:项目在本地 npm run dev 能正常跑起来,npm start也可以跑起来;但是我运行npm run build-client,将static文件夹放到nginx中,希望通过nginx启动项目;但出现如上图的错误: `TypeError: this.props.checkLoginState is not a function` nginx配置如下图 ` location ~ ^/prd/(.*) { expires 1y;...
没有,后面用 npm run dev,前端后端都在本地启动;之前是因为想跟后端同事联调才提的这个,后面后端也是我在弄。。。