Vue 3 是 Vue.js 的最新版本,相较于 Vue 2,它引入了许多改进和新特性,包括但不限于: Composition API:提供了一种更灵活的方式来组织代码,使得逻辑复用变得更加简单。 更好的TypeScript支持:Vue 3 从一开始就支持 TypeScript,提供了更好的类型推断和自动补全。 性能优化:通过虚拟DOM和Proxy对象实现了更快的响...
修复在新版vue项目中,ts类型文件找不到的问题。 V1.1.2 针对滑动事件增加节流操作。 提高性能。 实例API 在父组件里如果需要重置,可以在父组件中调用子组件refresh() 方法 <slide-verifyref="block"></slide-verify> setup(){constblock=ref(null);// 元素挂载之后才能访问refonMounted(()=>{block.value.refr...
commitlint.config.js chore: 增加配置 3年前 index.d.ts feat: finish component 3年前 index.html feat: 发布docs 3年前 package.json 1.1.6 4个月前 tsconfig.json feat: add declare file 3年前 vite.config.ts fix: modify img url publish v1.1.4 ...
jest.config.js 🎉 init Dec 8, 2020 package.json 🎉 init Dec 8, 2020 tsconfig.json 🎉 init Dec 8, 2020 yarn.lock 🎉 init Dec 8, 2020 README Vue3 Slide Verify Code Vue3 滑块验证码 参数 参数类型默认值说明 containerSize{width: number, height: number}{width: 400, height: 250}...
fileName: (format) => `vue3-slide-verify.${format}.js`, }, rollupOptions: { // 确保外部化处理那些你不想打包进库的依赖 external: ["vue"], output: { // 在 UMD 构建模式下为这些外部化的依赖提供一个全局变量 globals: { vue: "Vue", ...
integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== estree-walker@^2.0.1, estree-walker@^2.0.2: version "2.0.2" resolved "https://mirrors.tencent.com/npm/estree-walker/-/estree-walker-2.0.2.tgz" integrity sha512-Rfkk/...
7 changes: 6 additions & 1 deletion 7 dist/slide-verify.js Load diff Large diffs are not rendered by default. 2 changes: 1 addition & 1 deletion 2 dist/slide-verify.js.map Load diff Large diffs are not rendered by default. 4 changes: 2 additions & 2 deletions 4 webpack.con...
js-yaml "^3.13.1" minimatch "^3.0.4" strip-json-comments "^3.1.1" "@humanwhocodes/config-array@^0.5.0": version "0.5.0" resolved "https://registry.npmmirror.com/@humanwhocodes/config-array/download/@humanwhocodes/config-array-0.5.0.tgz?cache=0&sync_timestamp=1635880739605&oth...
js-yaml "^3.13.1" minimatch "^3.0.4" strip-json-comments "^3.1.1" "@humanwhocodes/config-array@^0.5.0": version "0.5.0" resolved "https://registry.npmmirror.com/@humanwhocodes/config-array/download/@humanwhocodes/config-array-0.5.0.tgz?cache=0&sync_timestamp=1635880739605&other...