This box is a Vue based solidity Dapp development framework. 中文版文档
First
$ (sudo) npm install -g ethereumjs-testrpc
Second
$ (sudo) npm install -g truffle
Third
$ truffle unbox huarxia/truffle-vue
or
$ https://github.com/huarxia/truffle-vue.git
$ cd truffle-vue
Fourth
$ npm install
Fifth new shell window
$ testrpc
Sixth on current window
$ truffle compile
$ truffle migrate
$ npm run dev
compile
$ truffle compile
migration
$ truffle migrate
Global install gulp
$ (sudo) npm install gulp -g
If it is the first use of direct operation
gulp
$ gulp
If it was used second times
$ gulp start
gulp // First compile migrate and run
gulp start // First run
gulp clean // delete build
gulp compile // Compile smart contract and delete build first
gulp migrate // Deploy smart contracts to localgulp reset // Redeploy smart contract to local and restart service
gulp migrate-deploy // Deploying smart contracts to ropsten using infura
gulp deploy // Deploying smart contracts to ropsten using infura and run dev
Author: huarxia
Live Demo: https://www.iviewui.com/
GitHub: https://github.com/huarxia/truffle-vue
#vuejs #javascript #vue #vue-js