![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Vue
Clovemeo
这个作者很懒,什么都没留下…
展开
-
Please pass numbers as strings or BN objects to avoid precision errors.
要用方法转一下this.web3.utils.toBN(r)原创 2022-05-11 14:58:48 · 544 阅读 · 0 评论 -
[vue以太开发] Vue.js 开发以太坊DApp
步骤1npm install -g @vue/clivue create crowdfunding生成目录├── package.json├── public│ ├── index.html└── src ├── App.vue ├── assets │ └── logo.png ├── components │ ├── CrowdFund.vue │ └── HelloWorld.vue └── main原创 2022-05-11 14:52:07 · 3084 阅读 · 0 评论 -
【Vue 开发Dapp】Vue 编译报错:BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules
环境 vue 3.x检查下来是因为 webpack 5 以前的版本包含 polyfills。错误信息也给出了这个原因。解决方法:在 vue.config.js 文件中添加如下配置:const { defineConfig } = require('@vue/cli-service');const path = require('path');const NodePolyfillPlugin = require('node-polyfill-webpack-plugin')..原创 2022-05-11 10:07:04 · 973 阅读 · 0 评论