【报错】:Module path has been externalized for browser...
Vite2+Vue3下引入path模块报错:Module “path” has been externalized for brower compatibility and cannot be accesed in client code。原因是 vite 源码中设定了不允许在客户端代码中访问内置模块代码。代替 path 模块。
·
更多推荐
已为社区贡献6条内容
所有评论(0)