Skip to content
No description, website, or topics provided.
Vue JavaScript HTML
Branch: master
Clone or download
Latest commit 7dbac34 Feb 28, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
contracts First version Feb 10, 2018
migrations First version Feb 10, 2018
public First version Feb 10, 2018
src First version Feb 10, 2018
.gitignore First version Feb 10, 2018
README.md React -> vue in readme, removed from address in config Feb 26, 2018
box-img-lg.png Updated icons Feb 10, 2018
box-img-sm.png Updated icons Feb 10, 2018
package.json First version Feb 10, 2018
truffle-box.json First version Feb 10, 2018
truffle.js React -> vue in readme, removed from address in config Feb 26, 2018
vue.config.js First version Feb 10, 2018
yarn.lock First version Feb 10, 2018

README.md

Vue Truffle Box

This box comes with everything you need to start using smart contracts from a vue app.

Installation

  1. Install Truffle globally.

    yarn install -g truffle
  2. Download the box. This also takes care of installing the necessary dependencies.

    truffle unbox standup75/vue-box
  3. Run the development console.

    truffle develop
  4. Compile and migrate the smart contracts. Note inside the development console we don't preface commands with truffle.

    compile
    migrate

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

  1. Run the local server.

    // Serves the front-end on http://localhost:3000
    yarn serve
  2. Truffle can run tests written in Solidity or JavaScript against your smart contracts. Note the command varies slightly if you're in or outside of the development console.

    truffle test
  3. To build the application for production, use the build command. A production build will be in the build_webpack folder.

    yarn build
You can’t perform that action at this time.