Skip to content

A trio of tools combined to assist with creating distributed applications on the Ethereum blockchain

Notifications You must be signed in to change notification settings

wilfreddenton/vue-truffle-webpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Vue + Truffle + Webpack [vtw]

This simple script combines truffle with a custom Vue webpack template to generate a boilerplate that can be built on top of to create complex distributed apps on the Ethereum blockchain.

Install

vtw requires that you have truffle and the vue-cli installed.

npm install -g truffle

npm install -g vue-cli

After obtaining the dependencies simply run the following command. This will fetch the vtw script file and move it into /usr/local/bin so it can be used globally as a command.

curl -O https://raw.githubusercontent.com/wilfreddenton/vue-truffle-webpack/master/vtw ; chmod +x vtw ; mv vtw /usr/local/bin

It also requires that you use MetaMask for development. MetaMast will inject web3, set with the RCP provider you've configured MetaMast to use, into the browser environment.

Usage

  1. mkdir dapp
  2. cd dapp
  3. vtw
  4. Answer the prompts to setup the Vue app
  5. cd app
  6. npm install
  7. npm run dev

About

A trio of tools combined to assist with creating distributed applications on the Ethereum blockchain

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages