Panpan

Results 68 comments of Panpan
trafficstars

Since Stylelint has decided to deprecate all the stylistic rules, I think it is better to run Stylelint and Prettier separately.

The latest version supports v4 and v5.

`vite-plugin-stylelint` supports failing builds on Stylelint errors. However, there are some exceptions. 1. only enable `lintInWorker`. Since the plugin is linting in worker, no plugin context that can be used....

https://github.com/nuxt-modules/stylelint/issues/89 is trying to handle this issue.

各个包里面还是用的 vite v4,而且没有支持 ESM,只是说你跑 vite v5 不会报错,仅此而已

![d240e7a6fae0c54829700e557850d180](https://github.com/dcloudio/uni-app/assets/31850793/833b4de0-113d-4e85-8e14-5bf62126199c)

> [uniapp.dcloud.net.cn/release.html#_4-14-2024043013](https://uniapp.dcloud.net.cn/release.html#_4-14-2024043013) > > > 【重要】Web平台 调整 vue版本由3.2.47升级为3.4.21,支持defineOptions、defineModel、toValue等新特性 > > Vue3 项目 升级编译器依赖的 vite 版本为5.2.8 这里说的是 Web 平台,不确定小程序平台怎么样,貌似已经支持 https://github.com/dcloudio/uni-app/blob/v3.0.0-4020420240722002/packages/uni-mp-vue/dist/vue.runtime.esm.js

可以提供一下相关截图和完整复现吗?

https://github.com/uni-helper/vite-plugin-uni-pages/commit/4282277bc14b786865419306c9cd12effa172d42

我的问题,忘合并发布了,对不起各位,v0.2.28 包含了这个改动 @breakon @SongBana