Skip to content

JFusco/vue-router-vuex-example

Repository files navigation

vue-router-vuex-example

npm Dependency Status devDependency Status

Vue + vue-router + vuex + webpack starter project

This repository was created to demonstrate a simple application that uses vue and vue-router-sync to pass data throughout the application using the state management pattern.

Requirements

The following tools are required to get this running.

Dev tools

  • Node ~6.2.2 ~NPM will install automatically
  • NPM ~3.9.5
  • Webpack ~2.2.0

Installation

Install Node

Visit here - download and install the latest, stable version. This will install npm automatically.

Install Webpack globally

sudo npm install -g webpack

Install dependencies

cd into the root of the project and run this command

$ npm install

Compile

from the root:

$ npm build

Run project

$ npm start

Your primary browser will automatically open at localhost:8080