These are chat archives for QingWei-Li/cooking

1st
Mar 2017
majianxiong
@majianxiong
Mar 01 2017 07:41
// CommonJS
const Actionsheet = require('mint-actionsheet').default;
这后面,为何有一个default
const Actionsheet = require('mint-actionsheet') 这样的写法不是更好吗?
wushuai0413
@wushuai0413
Mar 01 2017 08:18
有人吗? 问个问题,装cooking的时候报Module '/usr/local/lib/node_modules/cooking-cli/node_modules/url/url.js' is not a loader这个错误了
求解,在线等,急急急!