我使用npm run serve
运行项目之后:
App running at:
- Local: https://localhost:3000/pico/__static__/
- Network: https://172.23.60.153:3000/pico/__static__/
Note that the development build is not optimized.
To create a production build, run npm run build.
我想打印每次访问 https://localhost:3000/pico/
的访问记录,请问怎么处理呢?
类似这种,每次HTTP请求都有打印:
试试webpack的
logging
详情可参考:https://webpack.docschina.org...
另外,也可以通过浏览器devtool的network,对所有的请求都能看到。
