./node_modules/taro-ui/dist/h5/components/pagination/index.js 101:11 Module parse failed: Unexpected token (101:11)
./node_modules/taro-ui/dist/h5/components/pagination/index.js?101:11 Module?parse?failed:?Unexpected?token?(101:11)
將taro-ui 從1.5.1版本強制降到1.5.0版本后編譯通過
1.5.2已經(jīng)修復(fù)
https://github.com/NervJS/taro-ui/issues/239
2019-05-11
加了配置之后要重新編譯
2019-03-21
重新編譯 就解決了
2019-01-21
https://taro-ui.aotu.io/#/docs/quickstart??
由于引用?node_modules?的模塊,默認(rèn)不會編譯,所以需要額外給 H5 配置?esnextModules,在 taro 項目的?config/index.js?中新增如下配置項:
h5: {
? esnextModules: ['taro-ui']
}
2019-01-06
怎么強制降低版本?
2018-12-13
./node_modules/taro-ui/dist/h5/components/pagination/index.js 101:11 Module parse failed: Unexpected token (101:11)
將taro-ui 從1.5.1版本強制降到1.5.0版本后編譯通過
1.5.2已經(jīng)修復(fù)
https://github.com/NervJS/taro-ui/issues/239