Vue.js 2.0 + Webpack Single Page Application.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
config
lib/jasmine_examples
src
static
test
.babelrc
.editorconfig
.gitignore
README.md
index.html
package.json

README.md

Vue-SPA-Webpack-example

Customer Support Ticketing SPA System with Vue.js and Webpack.

Backend

The backend data for this project comes from https://github.com/gazeldx/rails5-api-rspec-example So if you want to run this project properly, please run the backend program rails5-api-rspec-example first.

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
cd /path/to/vue-spa-example
npm install -g karma-cli

Download and install PhantomJS by following http://phantomjs.org/download.html
Add `export PHANTOMJS_BIN=/Applications/phantomjs-2.1.1/bin/phantomjs` to ~/.bash_profile

npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

TODO

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