1.0.4 • Published 3 years ago
yw_tool v1.0.4
yw_tool
小程序util工具方法库:
- 包含log,util等方法;
- 目前log方法只适用于miniprogram
开发
- 安装依赖:
npm install yw_tool --save
- 执行构建npm:
- 点击开发者工具中的菜单栏:工具 --> 构建 npm
- 勾选“使用npm模块”选项:
使用
构建后使用npm包:
import {log, util} from 'yw_tool';
小程序util工具方法库:
npm install yw_tool --save
构建后使用npm包:
import {log, util} from 'yw_tool';