path 使用的问题

path 的引入使用时会出现以下的错误,请教下该怎么使用?
image.png
image.png

阅读 1.4k
1 个回答

浏览器用不了nodejs内置的path模块,需要用node polyfill,比如path-browserify包试一下?

推荐问题