laterdays
laterdays
@flrnt How do I make useDraggable support absolute drag and limit drag only to the parent element
``` "dependencies": { "@unocss/reset": "^0.47.5", "@unocss/runtime": "^0.47.5", }, "devDependencies": { "@iconify-json/carbon": "^1.1.11", "@unocss/preset-icons": "^0.47.5", "@unocss/transformer-variant-group": "^0.47.5", "unocss": "^0.47.5", }, ```
Because there is no network in production, so can't use the < script SRC = "https://cdn.jsdelivr.net/npm/@unocss/runtime" > < / script >, using the @ unocss/runtime package, but cannot build after...
package.json ``` "lint-staged": { "src/**/*.{js,vue,ts}": [ "eslint --fix", "git add" ] }, ```