simple-http-server start npm start 浏览器中输入 http://127.0.0.1:3000/test/a.html http://127.0.0.1:3000/test/a.js http://127.0.0.1:3000/test/a.css 就可以访问到对应的资源文件了。