Skip to content

marcelobfonseca/vue-cli3-custom-truffle-box

 
 

Repository files navigation

forthebadge Build Status License: MIT Greenkeeper badge

vue-truffle-box

This Version comes with vuex, routers and Mocha for unit test. For simplified version go to marcelobbfonseca/vue-cli3-truffle-box.

This project is a truffle box for vue-cli3. Truffle Boxes are helpful boilerplates that allow you to work with the Ethereum Virtual Machine (EVM) and focus on what makes your dapp unique. In addition to Truffle, Truffle Boxes can contain other helpful modules, Solidity contracts & libraries, front-end views and more; all the way up to complete example dapps.

Project setup

at first install vue-cli3(latest) and truffle.

npm install -g @vue/cli
npm install -g truffle

Now you just have to run this to start a new project. easy peasy lemon queezy:

truffle unbox marcelobbfonseca/vue-cli3-custom-truffle-box

Commands list:

Truffle commands:

    truffle compile # Compile contracts
    truffle migrate # Migrate contracts
    truffle test 	# Run Tests for your contracts

Vue-Cli3 commands:

    npm run serve # Run dev server
    npm run build # Build for production
    npm run lint  # Lints and fixes files
    npm run test:unit # run test unit

For more info in truffle configuration check the oficial docs here: https://truffleframework.com

and for Vue configuration See Configuration Reference.

About

Vue CLI3 truffle box with vuex, router, lint, and mocha test suit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 49.1%
  • JavaScript 41.7%
  • HTML 9.2%