微信小程序集成 TDesign

步骤1: 在小程序控制台执行 , 一直按回车直至 package.json 创建好

yarn init

步骤2: 

yarn add tdesign-miniprogram --production

步骤3: 将 app.json 中的 "style": "v2" 移除。

步骤4: 将 app.json 中的 "renderer" 修改为 "webview" 。

你可能感兴趣的:(微信小程序,tdesign,小程序)