zoukankan      html  css  js  c++  java
  • 前端入职项目问题总结

    新公司熟悉项目遇到的问题总结

    1. react项目、VSCODE配置eslint保存格式化
    {
        "editor.fontFamily": "Source Code Pro, Consolas, 'Courier New', monospace",
        "workbench.colorTheme": "One Dark Pro",
        "git.path": "C:/Program Files/Git/bin/git.exe",
        "editor.formatOnSave": true,
        "eslint.validate": [
            "javascript",
            "javascriptreact"
        ],
        "editor.codeActionsOnSave": {
            "source.fixAll.eslint": true
        }
    }
    
    1. git重置密码
    git config --system --unset credential.helper
    git config --global credential.helper store 
    

    输入结束之后就会提示重新输入git账号密码

    • 使用SSH密钥连接Github

    引用自 使用SSH密钥连接Github

    1. 单页应用类似react/vue,当使用browserHistory 做前端路由时,当访问类似/user/123/后端需要配置重定向到 index.html页面
    • 友情提示: java后端新建controller
    @RequestMapping("/api/**")
    public ApiResult api(HttpServletRequest request, HttpServletResponse response){
        return apiProxy.proxy(request, response);
    }
    
    @RequestMapping(value="/**", method=HTTPMethod.GET)
    public String index(){
        return "index"
    }
    
    
  • 相关阅读:
    软件工程评分表
    评论
    团队成员介绍
    第九天冲刺
    第八天冲刺
    第七天冲刺
    第六天冲刺
    第五天冲刺
    第四天冲刺
    第三天冲刺
  • 原文地址:https://www.cnblogs.com/Lewiskycc/p/12551924.html
Copyright © 2011-2022 走看看