search

Home  >  Q&A  >  body text

javascript - 问下npm package json中的devDependencies 与dependencies的?

问下就比如我用vue的话 vue添加到dependencies 为什么vue-router axios可以放到devDependencies 不是应该放到dependencies吗?webpack那些loader放devDependencies 就可以理解但是vue-router axios放devDependencies 就不理解了

PHPzPHPz2873 days ago423

reply all(1)I'll reply

  • PHPz

    PHPz2017-04-17 16:31:13

    vue-routeraxios 应该放在 dependencies.
    What is the correct usage posture of devDependencies?

    reply
    0
  • Cancelreply