搜索
在 Ionic Vue 中处理 Webpack 5 的 Polyfill 问题
P粉420868294
P粉420868294 2023-08-30 12:09:41
[Vue.js讨论组]
<p>我正在尝试在 Ionic Vue 中使用 cosmjs 的包。当我想导入时</p> <pre class="brush:php;toolbar:false;">import { DirectSecp256k1HdWallet } from &quot;@cosmjs/proto-signing&quot;;</pre> <p>我收到这个问题:</p> <pre class="brush:php;toolbar:false;">If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { &quot;crypto&quot;: false }</pre> <p>并且无法在应用程序中使用该应用程序。</p>
P粉420868294
P粉420868294

全部回复(1)
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板