-
Notifications
You must be signed in to change notification settings - Fork 834
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
taro4.0.4 Vue3+TS+Vite小程序无法预览 #3190
Comments
请问是否解决?同样的问题发生了 |
没有,看最近的issue都没有回复,感觉准备放弃了 |
我也遇到了相同的问题 |
+1 |
同样遇到这个问题,请问你是怎么配置config/index.ts文件的呢? nutui指南中有提到两种使用的方式,第二种按需使用的有试过吗? |
h5 没有问题,taro init 选模版库微信小程序各种问题.... |
+1 |
你确定 h5 中 view 被编译成 成 taro-view-core 了吗 |
绷不住了~我已经折腾一天了,回3.6.5去了,vite版本编译不成功,webpack版本toast不显示内容 |
我也遇到了,有知道怎么解决吗? |
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
到现在还没解决吗,我今天也遇到了 |
+1 +1 按照文档,完全没法运行 |
很多组件都显示不出来,h5可以显示,小程序就不行。webpack也一样,比如InfiniteLoading 滚动加载,vite构建更不行 |
NutUI 包名
@nutui/nutui-taro
NutUI 版本号
4.3.12
平台
weapp
重现链接
无
重现步骤
运行执行小程序不显示
期望的结果是什么?
正确运行
实际的结果是什么?
不能正确运行
环境信息
👽 Taro v4.0.4
(node:84112) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.(Use
node --trace-deprecation ...
to show where the warning was created)Taro CLI 4.0.4 environment info:
System:
OS: macOS 14.2
Shell: 5.9 - /bin/zsh
Binaries:
Node: 21.5.0 - ~/.nvm/versions/node/v21.5.0/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 10.8.0 - ~/.nvm/versions/node/v21.5.0/bin/npm
npmPackages:
@tarojs/cli: 4.0.4 => 4.0.4
@tarojs/components: 4.0.4 => 4.0.4
@tarojs/helper: 4.0.4 => 4.0.4
@tarojs/plugin-framework-vue3: 4.0.4 => 4.0.4
@tarojs/plugin-html: 4.0.4 => 4.0.4
@tarojs/plugin-platform-alipay: 4.0.4 => 4.0.4
@tarojs/plugin-platform-h5: 4.0.4 => 4.0.4
@tarojs/plugin-platform-harmony-hybrid: 4.0.4 => 4.0.4
@tarojs/plugin-platform-jd: 4.0.4 => 4.0.4
@tarojs/plugin-platform-qq: 4.0.4 => 4.0.4
@tarojs/plugin-platform-swan: 4.0.4 => 4.0.4
@tarojs/plugin-platform-tt: 4.0.4 => 4.0.4
@tarojs/plugin-platform-weapp: 4.0.4 => 4.0.4
@tarojs/runtime: 4.0.4 => 4.0.4
@tarojs/shared: 4.0.4 => 4.0.4
@tarojs/taro: 4.0.4 => 4.0.4
@tarojs/vite-runner: 4.0.4 => 4.0.4
babel-preset-taro: 4.0.4 => 4.0.4
eslint-config-taro: 4.0.4 => 4.0.4
其他补充信息
{
"name": "yirijian-miniprogram",
"version": "1.0.0",
"private": true,
"description": "一日检",
"templateInfo": {
"name": "default",
"typescript": true,
"css": "Sass",
"framework": "Vue3"
},
"scripts": {
"build:weapp": "taro build --type weapp",
"build:swan": "taro build --type swan",
"build:alipay": "taro build --type alipay",
"build:tt": "taro build --type tt",
"build:h5": "taro build --type h5",
"build:rn": "taro build --type rn",
"build:qq": "taro build --type qq",
"build:jd": "taro build --type jd",
"build:harmony-hybrid": "taro build --type harmony-hybrid",
"dev:weapp": "npm run build:weapp -- --watch",
"dev:swan": "npm run build:swan -- --watch",
"dev:alipay": "npm run build:alipay -- --watch",
"dev:tt": "npm run build:tt -- --watch",
"dev:h5": "npm run build:h5 -- --watch",
"dev:rn": "npm run build:rn -- --watch",
"dev:qq": "npm run build:qq -- --watch",
"dev:jd": "npm run build:jd -- --watch",
"dev:harmony-hybrid": "npm run build:harmony-hybrid -- --watch"
},
"browserslist": [
"defaults and fully supports es6-module",
"maintained node versions"
],
"author": "",
"dependencies": {
"@babel/runtime": "^7.24.4",
"@nutui/nutui-taro": "^4.3.12",
"@tarojs/components": "4.0.4",
"@tarojs/helper": "4.0.4",
"@tarojs/plugin-framework-vue3": "4.0.4",
"@tarojs/plugin-html": "4.0.4",
"@tarojs/plugin-platform-alipay": "4.0.4",
"@tarojs/plugin-platform-h5": "4.0.4",
"@tarojs/plugin-platform-harmony-hybrid": "4.0.4",
"@tarojs/plugin-platform-jd": "4.0.4",
"@tarojs/plugin-platform-qq": "4.0.4",
"@tarojs/plugin-platform-swan": "4.0.4",
"@tarojs/plugin-platform-tt": "4.0.4",
"@tarojs/plugin-platform-weapp": "4.0.4",
"@tarojs/runtime": "4.0.4",
"@tarojs/shared": "4.0.4",
"@tarojs/taro": "4.0.4",
"vue": "^3.0.0"
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/plugin-proposal-class-properties": "7.14.5",
"@nutui/auto-import-resolver": "^1.0.0",
"@tarojs/cli": "4.0.4",
"@tarojs/vite-runner": "4.0.4",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"babel-preset-taro": "4.0.4",
"eslint": "^8.57.0",
"eslint-config-taro": "4.0.4",
"eslint-plugin-vue": "^9.17.0",
"postcss": "^8.4.38",
"sass": "^1.75.0",
"stylelint": "^16.4.0",
"terser": "^5.30.4",
"typescript": "^5.4.5",
"unplugin-vue-components": "^0.27.4",
"vite": "^4.2.0"
}
}
The text was updated successfully, but these errors were encountered: