Can't resolve './style/themes/red.scss'
-
执行 npm install taro-ui 后
页面引入import { AtMessage } from 'taro-ui'
在app.scss 文件中@import '~taro-ui/dist/style/index.scss';
编译执行npm run build:weapp -- --watch 命令后报错
Module not found: Error: Can't resolve './style/themes/red.scss' in 'C:\xxx\node_modules\taro-ui\dist\weapp'
请问有人遇到过吗
-
楼主解决了吗?
-
看看 taro ui的版本,更新最新的版本应该就没问题了v3.0.0-alpha.1