Node.js on IntelliJ IDEA

1, install node.js

2, use our country's own npm mirror, like taobao's

3, install node.js plugin on IntelliJ IDEA

4, create a new node.js project on IntelliJ IDEA

5, create a new js file under the bin

6, Run/Debug Configurations

7, run the configuration

8, view it on Chrome by opening http://localhost:3000

猜你喜欢

转载自blog.csdn.net/qq_25527791/article/details/87525537