相对路径,绝对路径问题:
.. / 表示上层目录
. / 表示当前目录
Paste_Image.png Paste_Image.png
在webstorm运行js文件时,node执行的位置为当前目录:
Paste_Image.png(1)
Paste_Image.png Paste_Image.png
(2)
Paste_Image.png Paste_Image.png相对路径,绝对路径问题:
.. / 表示上层目录
. / 表示当前目录
在webstorm运行js文件时,node执行的位置为当前目录:
Paste_Image.png(1)
(2)
Paste_Image.png Paste_Image.png本文标题:第二章 building a multi-rooms chat
本文链接:https://www.haomeiwen.com/subject/vrrxyttx.html
网友评论