taro-project-templates
taro-project-templates copied to clipboard
Templates for `taro init`
 pnpm主动更新postcss(pnpm i postcss -D)之后错误消失
具体说明见 https://github.com/NervJS/taro/pull/15417 - https://github.com/NervJS/taro-project-templates/pull/128 测试工作量太大,只能放弃了😅。肉眼看了没什么问题,出了问题再改吧。
具体说明见 https://github.com/NervJS/taro/pull/15417 测试工作量太大,只能放弃了😅。肉眼看了没什么问题,出了问题再改吧。
我是 yarn1 用户,`yarn upgradePeerdeps` 后出现 ERR spawn pnpm ENOENT。 看了下 https://www.npmjs.com/package/install-peerdeps 才知道原来 -P 是用 `pnpm`,我电脑没装 `pnpm` 就报错了。 https://github.com/NervJS/taro-project-templates/blob/55bc21804af5025da0089bff10cce200fa5e9e97/react-native/package.json.tmpl#L35C9-L35C9 "upgradePeerdeps": "install-peerdeps @tarojs/taro-rn@{{ version }} -o -P && install-peerdeps @tarojs/components-rn@{{ version }}...
更新依赖,跟进 cli
更新依赖,跟进 cli
postcss 配置错误,limit -> maxSize
软件版本 ```shell $ uname -a Linux ideabook 6.1.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 24 Jan 2023 21:07:04 +0000 x86_64 GNU/Linux $ node -v v18.13.0 $ npm -v 8.19.3 $ npx @tarojs/cli...