1.0.0 • Published 5 years ago

v-shopping-cart v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

v-shopping-cart

A shopping cart component by Vue.Must be used with vuex.

Install

# install dependencies
npm install --save v-shopping-cart

Preview

Preview

##use

<template>
  <div id="app">
    <v-shopping-cart :menuList="menulist" :payPath="payPath"></v-shopping-cart>
  </div>
</template>

<script>
import vShoppingCart from './myPlugin/vShoppingCart'; 
import menuList from './menuList'; 
export default {
  name: 'app',
  components: {
    vShoppingCart
  },
  data () {
    return {
      menulist: menuList,
      payPath: "/order/pay"
    }
  }
}
</script>