摘要: 一、初始化npm包 npm init 输入包名后一直回车,直到生成一个package.json,如下 二、新建自己的工具类 这里我建立了一个文件lib/cqh.js,内容如下 class Cqh { hello() { console.log('hello chenqionghe') } } mod 阅读全文
posted @ 2020-06-16 19:41 雪山飞猪 阅读(3951) 评论(0) 推荐(0) 编辑