https://github.com/dozyio/gridsome-shopping-cart-vuex
Gridsome using Vuex with modules - shopping cart example
https://github.com/dozyio/gridsome-shopping-cart-vuex
gridsome vuex
Last synced: 6 months ago
JSON representation
Gridsome using Vuex with modules - shopping cart example
- Host: GitHub
- URL: https://github.com/dozyio/gridsome-shopping-cart-vuex
- Owner: dozyio
- License: mit
- Created: 2020-05-22T15:03:07.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-08T18:57:00.000Z (about 4 years ago)
- Last Synced: 2023-03-06T16:07:11.962Z (over 2 years ago)
- Topics: gridsome, vuex
- Language: Vue
- Homepage:
- Size: 539 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gridsome shopping cart example using Vuex with modules
[](https://app.netlify.com/sites/gridsome-vuex-shopping-cart/deploys)
An example Gridsome static site using Vue and Vuex with modules for shopping cart functionality.
This example site uses [Vuex shared mutations](https://github.com/xanf/vuex-shared-mutations) so that the shopping cart is syncronised across tabs. It also uses [Vuex persistedstate](https://github.com/robinvdvleuten/vuex-persistedstate) so that the cart is stored locally, so if you revisit the site the shopping cart isn't lost.
## Example Site
[https://gridsome-vuex-shopping-cart.netlify.app/](https://gridsome-vuex-shopping-cart.netlify.app/)
## Install dependencies
```sh
yarn install
```## Build
```sh
gridsome build
```## Develop
```sh
gridsome develop
```