Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guixianleng/vue-licence-plate
基于Vue的移动端车牌键盘
https://github.com/guixianleng/vue-licence-plate
car keyborad vue
Last synced: about 10 hours ago
JSON representation
基于Vue的移动端车牌键盘
- Host: GitHub
- URL: https://github.com/guixianleng/vue-licence-plate
- Owner: guixianleng
- Created: 2020-04-03T10:24:09.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T10:02:56.000Z (almost 2 years ago)
- Last Synced: 2024-04-16T09:22:14.090Z (9 months ago)
- Topics: car, keyborad, vue
- Language: CSS
- Homepage:
- Size: 1.34 MB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# licence-plate-keyboard
## 安装依赖
```shell
npm install vue-licence-plate --save-dev
or
yarn add vue-licence-plate
```### 引入组件
```js
import Vue from 'vue'
// 自带车牌显示
import licencePlate from 'vue-licence-plate'
// 只有键盘
import licenceKeyboard from 'vue-licence-keyboard'
// 注册引入
Vue.use(licencePlate)
Vue.use(licenceKeyboard)
```
### 使用
```html...
methods: {
handleDone (str) {
console.log(str)
}
}```
### 效果图示
![Image](https://raw.githubusercontent.com/guixianleng/vue-licence-plate/master/examples/assets/images/case.gif)