2.0.0 • Published 3 years ago

commonts-toolkit1 v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

npm方法库

介绍

pc 移动端通用方法库

安装教程

cnpm install commonts-toolkit --save

使用说明

  1. 在 tsconfig.json中配置 "files": "node_modules/commonts-toolkit/dist/data.d.ts"
  2. 在 src/global.tsx中引入 import 'commonts-toolkit';

注意事项

  1. 如果是js版本使用,会提示找不到TOOLS,那么我们需要在 .eslintrc.js 的globals 对象中加入 TOOLS: true 解决
  2. 并非所有方法都测试过,如果遇到报错,请及时联系我