dawn-vue3-slide-verify
v1.0.0
Published
a slide verify component built in Vue3 with TypeScript.
Downloads
4
Maintainers
Readme
Vue 3 + Typescript + Vite
This repository rewrite from vue-monoplasty-slide-verify, and the main function remain the same, but just changed from vue2 to vue3. Meanwhile ,the front-end and backend interactive verification scheme is added.
该包主要是将 vue-monoplasty-slide-verify的vue2版本改为了vue3+typescript版本,主功能未曾改变,但为了该包更具验证码的验证特性,我增加了前后端交互认证方案。
Type Support For .vue
Imports in TS
Since TypeScript cannot handle type information for .vue
imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in .vue
imports (for example to get props validation when using manual h(...)
calls), you can enable Volar's .vue
type support plugin by running Volar: Switch TS Plugin on/off
from VSCode command palette.