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'
    请问有人遇到过吗


登录后回复