Vue Truffle Box
This box comes with everything you need to start using smart contracts from a vue app.
Install Truffle globally.
yarn install -g truffle
Download the box. This also takes care of installing the necessary dependencies.
truffle unbox standup75/vue-box
Run the development console.
Compile and migrate the smart contracts. Note inside the development console we don't preface commands with
If it's the first you attempt to compile and migrate a smart contract, I learned this here: https://medium.com/@mvmurthy/full-stack-hello-world-voting-ethereum-dapp-tutorial-part-2-30b3d335aa1f
Run the local server.
// Serves the front-end on http://localhost:3000 yarn serve
To build the application for production, use the build command. A production build will be in the build_webpack folder.