扫描查看全部示例
todo...
npm install jsmod-mobile-vue --save
import Vue from 'vue'
import JsmodMobileVue from 'jsmod-mobile-vue'
Vue.use(JsmodMobileVue);
todo...
在 vue 模板中使用
<mod-alert :value="true" content="购买成功!"></mod-alert>
在 script 标签中使用
this.$jsmod.alert.show({
content: 'api 显示的确认窗'
});
git clone https://github.com/chaogao/jsmod-mobile-vue.git
npm install
npm run dev # 运行所有示例
npm run docs # 本地运行文档
todo ...