myshop
v1.4.3
Published
common functions for myshop website
Downloads
12
Readme
## Installation
npm install myshop
## Import plugin to your project
import { MyShopClient } from 'myshop'
## Initialize plugin to vue's prototype
Vue.prototype.$myshop = MyShopClient;
## How to use?
this.$myshop.<method_name>
Place following code in your html file and make changes as per requirement.
<span id="app-parent" data-bid="1360" data-show-description="1" data-vid="547100"></span>
<div id="app"></div>
Note: Vuejs Component is replaced with div id "app".
The div id "app" should be in the parent div with data properties.
And id of parent div should be same as child div appending with '-parent' string like "app-parent"