Comments (3)
感谢反馈,升级到最新的 @3.0.0-alpha-4010920240606001 是否可以解决你的问题
如果不可以的话:
使用标准模板可以启动吗?
请提供复现工程或者单页面代码,排查下是通用的方法有问题,还是有边缘情况没考虑到。
https://uniapp.dcloud.net.cn/quickstart-cli.html#%E5%88%9B%E5%BB%BAuni-app
from uni-app.
项目升级到 @3.0.0-alpha-4010920240606001
的确解决了这个问题。
复现工程:
✅ uni-app 3.0.0-4000820240401001
版本,正常运行
uni-app-vite-vue3-tailwind-vscode-template/main 分支
❌ uni-app 3.0.0-alpha-4010520240507001
版本,运行失败
uni-app-vite-vue3-tailwind-vscode-template/uni-app-3.0.0-alpha-4010520240507001 分支
Note
一开始升级到 3.0.0-alpha-4010520240507001
,报出的是上面 #4977 (comment) 那个错误,后来我尝试升级 uni-app
相关依赖到 3.0.0-alpha-4010920240606001
之后,回到这个分支重新 yarn
安装包之后,现在不报那个 @vue/compiler-core
的错误了,反而报了:
[plugin:uni:mp-using-component] Expected ',' or '}' after property value in JSON at position 37
at pages/index/index.vue:1:0
不过这个问题,我看到其他 issue 里面已经有解了 #4952
✅ uni-app 3.0.0-alpha-4010920240606001
版本,正常运行
uni-app-vite-vue3-tailwind-vscode-template/uni-app-3.0.0-alpha-4010920240606001 分支
复现步骤
fork / clone
上述链接中的项目 指定分支- 执行
yarn
安装包 - 执行
yarn dev
运行,此时可见错误出现于命令行。
预期行为
执行 yarn dev
和 yarn build
命令,正常运行,且可见于微信开发者工具
from uni-app.
嗯,是的,目前是已知、已解决的问题。最新版本的的 alpha 可以解决。
感谢再次反馈,后续如果仍有问题请继续留言
from uni-app.
Related Issues (20)
- vue3 uni-forms 校验无效,uni-forms的created不执行。 HOT 2
- vue3 微信小程序解构插槽内组件生命周期异常 HOT 4
- Android 14,Google手机,chooseImage 从相册选择图片问题,count失效 HOT 2
- uni.getLocation 国际化描述没有切换语言 HOT 1
- 【BUG】升级到最新版本发现input问题, input 组件 type="digit" 的时候,绑定的值如果是null,报错。之前版本无此问题。 HOT 2
- 无法使用缓存图片这类静态资源,每次都是返回200 HOT 1
- app 端安卓设备突然断电之后,再开机之后,软件会卡在启动页并闪退的问题后续会解决吗 HOT 1
- 安卓原生跳转到指定页面,然后会首先回到uniapp 的首页 HOT 3
- 使用createAnimation运行在微信小程序中显示有问题 HOT 1
- vm.$children 在支付宝小程序中永远为空数组,导致uview2.x 大量组件实际不可用 HOT 1
- Uniapp 通过plus.android的方式去更改原生底部导航栏(navigatorbar)的颜色,改完会影响 uniapp 相关页面跳转 HOT 1
- 闺蜜圈 APP /小程序 /h5
- uniapp小程序sdk中使用uts插件包
- <page-meta />标签 root-font-size不生效 HOT 1
- CSS 背景图片编译到小程序时未自动转换为 base64 HOT 5
- IOS 原生插件
- 境外uni-app HOT 1
- 在android14 的手机上应用targetSdkVersion为33时调用uni.chooseImage相册无法打开
- vue3+uniapp项目中pages.json配置国际化切换不生效,只显示一种语言,页面其他地方正常切 HOT 1
- uniapp 小程序中onShareAppMessage HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uni-app.