/hackathon-vuejs-1

Hackathon do 1º meetup de Vue.js floripa.

Primary LanguageJavaScriptMIT LicenseMIT

Build Status

hackathon-vuejs-1

We will create a vue.js app using vue-cli and jsonplaceholder

DEMO: http://hackathon-vuejs-1.herokuapp.com/#/

Initial setup

You must have npm installed in your machine.

# install npm and node
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt install nodejs
sudo apt install build-essential
sudo node -v && npm -v

You must set the correction permission do work correctly with nodejs. More info here

Install vue-cli

# install vue-cli
npm install -g vue-cli

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# run unit tests
npm run unit

# run all tests
npm test

For detailed explanation on how things work, checkout the guide and docs for vue-loader.