/vuex-examples

Simple Examples on using Vuex to build Real World Apps :star: :star2:

Primary LanguageJavaScriptMIT LicenseMIT

Vuex Examples

This project aims to touch various aspects of Vuex while building several projects. Started off with Vue-CLI's Webpack Simple template

Contents

Projects

  • starter-files: A hello-world example
  • auth: An Auth example with Vuex
  • counter: A simple counter implementation with Vuex
  • firestore: A Simple FireStore implementation with Vuex
  • gallery: An Image Gallery implementation with Vuex
  • simple-todo: A Simple Todo implementation with Vuex
  • shopping-cart: A Shopping Cart implementation with Vuex
  • todo: A todo app implementation with Vuex
  • Make request

Getting Started

  • Clone the Repo: git clone https://github.com/ooade/vuex-examples.git

Running each project

# install dependencies
npm --prefix <project> install <project>

# serve with hot reload at localhost:8080
npm --prefix <project> run dev

# build for production with minification
npm --prefix <project> run build

Example: run the auth project

npm --prefix auth install auth
npm --prefix auth run dev
npm --prefix auth run build

Happy Coding!

License

MIT