Hooray Hu

Results 41 comments of Hooray Hu

> 我使用了: "vue": "^3.2.25" "vite": "^2.8.0" "vuedraggable": "^4.1.0" > > 近期重新install或update后发现了bug,通过移除 tag="transition-group" 后解决了此问题 不能说解决吧,只能说用这个办法可以通过移除特性的方式避开这个 bug ,我觉得如果这个仓库官方不打算维护了,将 vue-draggable 替换为 sortable 才是最合适的方案,因为 vue-draggable 内核也是基于 sortable 开发的

直接在页面头部设置 meta 标签即可 ```html ``` 想要的效果当然是尽量和 viewport 缩放为 1 时一样就好

@deepkolos 之前用 [iOSselect](https://github.com/zhoushengmufc/iosselect) 的时候,它有针对 viewport 提供了一个解决方案,希望能给你有参考

same problem. In 0.6.0, either a template change or a style change will trigger vite hmr. But in 0.7.0, a template or style change will only reload the page, and...

第三方依赖包,比如Vue三件套、vant之类的,换成CDN引入可以大大提升首屏加载,比较我们自己手写的项目代码本身并没有多大

你可以来了解下 Fantastic-admin,一款开箱即用的 Vue 中后台管理系统框架,基于ElementUI,兼容PC、移动端 https://hooray.gitee.io/fantastic-admin/

Need this feature too, looking forward to the next version

@noClaps At this time, you can use globally like this: ```js // index.js import Theme from 'vitepress/theme' import ZoomImg from './components/ZoomImg.vue' export default { ...Theme, enhanceApp({ app }) { app.component('ZoomImg',...

~~我的做法是把 element plus 里会触发预构建的资源在运行一开始就手动进行预构建 https://github.com/hooray/fantastic-admin/blob/master/vite.config.js#L58-L60~~ 我的方案在 [email protected] 下无法使用,推荐使用 @hminghe 的方案。 > 我在用element-plus 开发也发现了这个问题,按需导入的新组件多就会卡死和刷新页面。 最后的解决方案是开发用全量导入组件,打包用按需导入。可以参考一下我的修改 [hminghe/md-admin-element-plus@be3cdf6](https://github.com/hminghe/md-admin-element-plus/commit/be3cdf6999d3ae349f79e31d32b2a49de1239fcc) 但需要注意的是,因为这个方案是在开发环境进行全局引入,打包构建后还是保留按需引入。 所以在使用 message 这类组件时,不要使用全局引入时提供的 `$message` 方法,而是使用 `import { ElMessage } from 'element-plus'` 的方式。 如果嫌麻烦则可以使用 [unplugin-auto-import](https://github.com/antfu/unplugin-auto-import)...

vue3只能看看其他框架,比如 [Fantastic-admin](https://fantastic-admin.gitee.io/)