npminstall--savevue3-sketch-ruleryarnaddvue3-sketch-ruler-S 将打包后的dist包拷贝,用import导入,支持下面两种引用方式 import SketchRule from 'vue3-sketch-ruler' import 'vue3-sketch-ruler/lib/style.css' // ts需要时引入类型 import type { SketchRulerProps } from 'vue3-sketch-ruler' ...
vue3-sketch-ruler是一款专为Vue 3设计的页面缩放操作插件,使用TypeScript编写,并且对服务器端渲染(SSR)友好。这个插件提供了一种以鼠标为中心的页面缩放方式,简化了配置,并通过插槽的方式分离平台与业务代码,让开发者可以专注于业务逻辑。 🔑 应用场景
Zoom operation of page display in vue 3 . Contribute to kakajun/vue3-sketch-ruler development by creating an account on GitHub.
Zoom operation of page display in vue 3 . Contribute to kakajun/vue3-sketch-ruler development by creating an account on GitHub.
Zoom operation of page display in vue 3 . Contribute to kakajun/vue3-sketch-ruler development by creating an account on GitHub.
Zoom operation of page display in vue 3 . Contribute to kakajun/vue3-sketch-ruler development by creating an account on GitHub.
Zoom operation of page display in vue 3 . Contribute to kakajun/vue3-sketch-ruler development by creating an account on GitHub.
参考一个完整的例子,[点击这里](https://github.com/kakajun/vue3-sketch-ruler/blob/master/example/components/user-rulerts.vue) 参考一个完整的例子,[点击这里](https://github.com/kakajun/vue3-sketch-ruler/blob/master/packages/docs/src/components/user-rulerts.vue) ...
"url": "https://gitee.com/majun2232/vue3-sketch-Ruler" }, "sideEffects": false, "main": "lib/index.js", "module": "lib/index.mjs", "main_": "lib/index.js", "main": "src/index.ts", "style": "lib/style.css", "types": "lib/index.d.ts", "scripts": { 3 changes: 1...
run: npm install - name: Run development server run: npm run dev # .vscode/preview.yml autoOpen: true # 打开工作空间时是否自动开启所有应用的预览 apps: - port: 6000 # 应用的端口 run: npm install && npm run dev # 应用的启动命令 root: ./ # 应用的启动目录 name: vue3-sketch-ruler #...