我正在使用 Nuxt3 构建 Dapp,但在使用包时遇到一些错误:
window.axeptioSettings = {
clientId: '...',
cookiesVersion: '...',
}
;(function (d, s) {
var t: any = d.getElementsByTagName(s)[0],
e: any = d.createElement(s)
e.async = true
e.src = '//static.axept.io/sdk.js'
t.parentNode.insertBefore(e, t)
})(document, 'script')
我在 github 上关注了 this 评论,它允许 Vite 在
process
中完美运行,但是在构建 dev
和 yarn build
时,我遇到了错误:
yarn start
谢谢您的帮助