File: app/components/test-shopping-cart/components/app/app.js

Recommend this page to a friend!
  Classes of Sergey Beskorovayniy   Vuex Examples   app/components/test-shopping-cart/components/app/app.js   Download  
File: app/components/test-shopping-cart/components/app/app.js
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Vuex Examples
Example apps using Vuex state management pattern
Author: By
Last change: Update of app/components/test-shopping-cart/components/app/app.js
Date: 2 years ago
Size: 736 bytes
 

Contents

Class file image Download
define([ 'vue', 'app/components/test-shopping-cart/store/index', 'app/components/test-shopping-cart/filters/currency', 'app/components/test-shopping-cart/components/cart/cart', 'app/components/test-shopping-cart/components/product_list/product_list', 'text!app/components/test-shopping-cart/components/app/app.html' ], function (Vue, store, currency, cart, product_list, template) { // Reg filter Vue.filter('currency', currency); // Create component object var ShoppingCart = { name: 'ShoppingCart', store: store, template: template, components: { 'product-list': product_list, cart: cart } }; return ShoppingCart; });