Skip to content

taro-ui@3.3.3

Latest

Choose a tag to compare

@robinv8 robinv8 released this 25 May 04:41

🐛 Bug Fixes

  • 修复 3.3.2 将构建产物移至 lib/ 目录导致的路径不兼容问题,恢复与 3.2.x 一致的 dist/ 目录结构 (#1884)

⚠️ 从 3.3.2 升级的迁移说明

3.3.2 是一个存在回归问题的版本,构建产物目录由 dist/ 错误地变更为 lib/
3.3.3 已将产物目录恢复为 dist/,如果你曾在 3.3.2 中使用了 lib/ 路径,升级后需调整引用:

- import 'taro-ui/lib/style/components/button.scss'
+ import 'taro-ui/dist/style/components/button.scss'

- import AtButton from 'taro-ui/lib/components/button'
+ import AtButton from 'taro-ui/dist/components/button'

如使用全量样式引入(推荐),无需改动:

import 'taro-ui/dist/style/index.scss'