/vue2-shop

An experimental Vue2 Vuex shop, ready to fork and start your project.

Primary LanguageJavaScript

Vue2-Vuex-shop

This is an experimental Vue Project in order to compare with Angular2 and Ember2, Live Demo.

Please checkout Angular2 and Ember.js Version of this project.(Coming soon) I encourage you to read my article about this comparison.

This project has been initialized by Vue-Cli using Webpack, Mocha, ESlint.

Dependencies

  • "vue"
  • "vue-router"
  • "vuex"

Deploy to gh-page

easily run this command when you forked: npm run deploy

Build Setup

# install dependencies
npm install


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

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

TODO

  • Unit Test
  • Integration Test
  • Add backend logic
  • Pagination
  • Add Guard for Route (User Profile)
  • Promotions and Discounts
  • Refine code and bundle

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