xutm

Results 3 comments of xutm

> 可以提供一份出问题的示例代码吗? https://hcg1023.github.io/vue3-dnd/example/sortable/simple.html 这个 Demo,最外层如下写法: ``` import { DndProvider } from 'vue3-dnd' import { TouchBackend } from 'react-dnd-touch-backend' ```

> 短期之内在使用touch-bakend的时候,你可以使用useDragLayer自行实现preview,如https://hcg1023.github.io/vue3-dnd/example/drag-around/custom-drag-layer.html 之后会考虑实现vue版本的https://github.com/LouisBrunner/dnd-multi-backend 貌似不行 你切到开发者工具下,模拟下,移动设备,就发现不行了

@acdbaykal I've tried by [sideEffects](https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free). It's OK. You can verify by [https://github.com/qiyuan-wang/vue-tree-shaking-example](https://github.com/qiyuan-wang/vue-tree-shaking-example)