-
Notifications
You must be signed in to change notification settings - Fork 834
无法切换官方主题 #3247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
补充: 相比于默认的模板,为了切换官方主题做了调整,config/index.ts中:
|
不行啊,还是报错 |
我的意思是这样写依然报错,虽然参考了官网的做法 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NutUI 包名
@nutui/nutui-taro
NutUI 版本号
4.3.13
平台
weapp
重现链接
https://github.com/axiangcoding/taro-demo
重现步骤
期望的结果是什么?
正确切换主题,并且不会报错
实际的结果是什么?
无法切换主题,报错为:
环境信息
Debugger attached.
👽 Taro v4.0.9
Taro CLI 4.0.9 environment info:
System:
OS: Windows 11 10.0.26100
Binaries:
Node: 22.14.0 - F:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - F:\Program Files\nodejs\yarn.CMD
npm: 9.7.2 - F:\Program Files\nodejs\npm.CMD
npmPackages:
@tarojs/cli: 4.0.9 => 4.0.9
@tarojs/components: 4.0.9 => 4.0.9
@tarojs/helper: 4.0.9 => 4.0.9
@tarojs/plugin-framework-vue3: 4.0.9 => 4.0.9
@tarojs/plugin-html: 4.0.9 => 4.0.9
@tarojs/plugin-platform-alipay: 4.0.9 => 4.0.9
@tarojs/plugin-platform-h5: 4.0.9 => 4.0.9
@tarojs/plugin-platform-jd: 4.0.9 => 4.0.9
@tarojs/plugin-platform-qq: 4.0.9 => 4.0.9
@tarojs/plugin-platform-swan: 4.0.9 => 4.0.9
@tarojs/plugin-platform-tt: 4.0.9 => 4.0.9
@tarojs/plugin-platform-weapp: 4.0.9 => 4.0.9
@tarojs/runtime: 4.0.9 => 4.0.9
@tarojs/shared: 4.0.9 => 4.0.9
@tarojs/taro: 4.0.9 => 4.0.9
@tarojs/taro-loader: 4.0.9 => 4.0.9
@tarojs/webpack5-runner: 4.0.9 => 4.0.9
babel-preset-taro: 4.0.9 => 4.0.9
eslint-config-taro: 4.0.9 => 4.0.9
其他补充信息
No response
The text was updated successfully, but these errors were encountered: