flyingkid
V2EX  ›  问与答

vue-cli 创建出来的项目,代码格式自动化是怎么配置出来的

  •  
  •   flyingkid · Sep 3, 2018 · 1451 views
    This topic created in 2840 days ago, the information mentioned may be changed or developed.
    2 replies    2018-09-06 23:18:07 +08:00
    LOWINC
        1
    LOWINC  
       Sep 4, 2018
    配置一下编辑器?
    flyingkid
        2
    flyingkid  
    OP
       Sep 6, 2018
    @LOWINC 配置编辑器+配置 eslint prettier 就可以了。https://juejin.im/post/5b4ed7c7f265da0fa86738b5 终于把 react 代码格式规范了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2819 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 12:07 · PVG 20:07 · LAX 05:07 · JFK 08:07
    ♥ Do have faith in what you're doing.