search

Home  >  Q&A  >  body text

node.js - 跑antd的的模板例子!想修改端口,怎么修改呢!!(里面好像用了什么dora插件!!!)

想修改启动端口号,问题见图

但是还是不行!!!!

求大神解决!!

大家讲道理大家讲道理2873 days ago524

reply all(3)I'll reply

  • PHPz

    PHPz2017-04-17 15:26:27

    Try npm start -- --port=8001

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 15:26:27

    dora supports the --port parameter
    For specific help on the dora command, you can execute it in the project directory
    ./node_modules/.bin/dora --help

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 15:26:27

    Excuse me, when using dora to start the service, open the file directory displayed on localhost and how to point to the index page

    reply
    0
  • Cancelreply