1.0.3 • Published 6 years ago

vue-zweb v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

vue-zweb

这是一个Vue插件,与 ZWebView 组件配合使用。

This is vue-zweb which works only with Vue 2.0+.

For Example:

  1. Development Setup。
npm install vue-zweb --save
  1. 注入ZWeb 插件, 在实体对象创建前插入。
import VueZWeb from 'vue-zweb';
Vue.use(VueZWeb);
  • 或者,在引入Vue后,直接引用
<script type="text/javascript" src="vue-zweb/dist/vue-zweb.min.js"></script>
  1. Vue模版中当作生命周期使用。
<template>
  ...
</template>

<script>
export default {
  name: "ZWebSDK",
  zWebReady() {
    ...
    // 调用 ZWebSDK
    ...
  }
};
</script>

License

MIT

Copyright (c) 2017 Zyao89

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago