taro-project-templates icon indicating copy to clipboard operation
taro-project-templates copied to clipboard

Templates for `taro init`

Results 24 taro-project-templates issues
Sort by recently updated
recently updated
newest added

## 复现步骤 1. `npx @tarojs/cli init` ``` ? 请输入项目名称! new ? 请输入项目介绍 ? 请选择框架 React ? 是否需要使用 TypeScript ? Yes ? 请选择 CSS 预处理器(Sass/Less/Stylus) Sass ? 请选择编译工具 Webpack5 ? 请选择包管理工具...

``` taro build --plugin weapp ``` ``` 👽 Taro v3.5.6 开始编译微信小程序插件 Tips: 1. 建议开启持久化缓存功能,能有效提升二次编译速度,详情请参考: https://docs.taro.zone/docs/config-detail#cache。 (node:14664) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'import' of undefined at getEntryPath XX/node_modules/@tarojs/webpack5-runner/src/plugins/MiniSplitChunksPlugin.ts:579:36) ```

把别名功能加进去,现在我直接加他找不到

增加h5-youshu模版

github地址:https://github.com/redux-model/redux-model 基于redux的二次封装,为Typescript定制,能提高开发者2-3倍的开发效率。 原生Redux和Dva都不适合TS项目,我的第一个TS项目就是基于原生Redux,为了得到类型提示,苦不堪言!!

> 微信安卓版 7.0.10 版本起,网页的字体会跟随微信设置里的字体大小更改而变化。 这个会导致rem布局错乱,详细见[关于微信安卓端网页字体适配的通知](https://developers.weixin.qq.com/community/develop/doc/000a26b86948f8743cb9a6da951409?highLine=%25E5%25AD%2597%25E4%25BD%2593),[]()

下载typescript模板项目发现 pages/index/index.tsx中的注释 ![image](https://user-images.githubusercontent.com/18138724/62695282-9c855800-ba08-11e9-81dd-677fa96f2191.png) 但是代码中发现interface Index并未使用,于是我注释掉代码,项目启动依然没有问题。 ![image](https://user-images.githubusercontent.com/18138724/62695538-1e758100-ba09-11e9-933d-d2aa419bd4c3.png) 是不是因为trojs1.3.12版本修复了那个bug,所以已经不需要那样显示声明参数了

### 执行 taro init --template-source github:NervJS/taro-project-templates#v3.7-RN-0.70 - 报错如下 - ![image](https://github.com/user-attachments/assets/7e764d6e-9b22-49c8-8ac2-d24d9146fb9d)