vue-xiaobu-utils

小步科技工具js
3,422
Install
npm install vue-xiaobu-utils
Latest Version:1.5.81
Vue:2
License:MIT
Last Updated:May 25, 2020
Links: npm
Maintainer: signdigit1

vue-xiaobu-utils

小步 app vue 项目 js 工具类

Build Setup

# install
npm install vue-xiaobu-utils

使用说明

注意:本工程使用d.ts文件进行提示,请安装typings并导入index.d.ts

/// <reference path="../node_modules/vue-xiaobu-utils/src/plugins/nativePlugin.d.ts" />
基本工具类使用方法(部分示例)
import ajaxAsync from 'vue-xiaobu-utils'
// ajaxAsync为默认输出
ajaxAsync('path', sendObj)

import { ajaxAsync, getUrlParams, go } from 'vue-xiaobu-utils'
ajaxAsync('path', sendObj)
getUrlParams()
go('path')
cordova 工具类使用方法
main.js
import { nativePlugin } from 'vue-xiaobu-utils'
Vue.use(nativePlugin, {
  platform: true
})
.vue 文件
this.$UI.then(ui => {
  // ui.
  ui.showDialog('1111', '22222222222', '3333', '44444', data => {}, () => {})
})

注意:更多方法请参考index.js或index.d.ts

For detailed explanation on how things work, consult the docs for vue-loader.

Related Packages

@bernankez/utils

Cole's utils preset

1,146 0
@chiballc/utils

TypeScript utilities, browser worker messaging, and the Kibao Nuxt module for Op...

10,723 0
@gits-id/utils

GITS Utilities

4,086
metaflow-js

EntityFramework for Metaflow

2,894 0

Version History

Version Released Vue License
1.5.81 ^2.5.17 MIT
1.5.80 ^2.5.17 MIT
1.5.79 ^2.5.17 MIT
1.5.78 ^2.5.17 MIT
1.5.77 ^2.5.17 MIT