# chain_front **Repository Path**: linxinrui/chain_front ## Basic Information - **Project Name**: chain_front - **Description**: 前端 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-04-22 - **Last Updated**: 2022-04-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # chain_front > A Vue.js project ## Build Setup + 确保已经安装metamask,已经启动私链节点并且连接到metamask,确保网页已经连接到metamask + 将myContract.js里的ABI 和 Address 修改为你的私链部署的合约地址 + 调用合约注意参数完整性 + 安装npm install + 安装npm install web3@0.20.0 + 安装npm install element-ui + 安装npm install vuex@3.6.2 ``` bash # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build # build for production and view the bundle analyzer report npm run build --report ``` For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).