├── .github
└── FUNDING.yml
├── .stackblitzrc
├── README.md
├── package.json
├── public
├── favicon.ico
└── index.html
├── src
├── App.css
├── App.vue
├── SimpleKeyboard.vue
└── main.js
└── vue.config.js
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | custom: https://hge.to/thanks
2 |
--------------------------------------------------------------------------------
/.stackblitzrc:
--------------------------------------------------------------------------------
1 | {
2 | "startCommand": "npm run serve"
3 | }
4 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |

2 |
3 |
4 |
5 |
This is a repository for simple-keyboard's Vue.js demos
https://virtual-keyboard.js.org/vuejs
6 |
7 |
8 | > **Have an issue or question? [Please post it in the main repository.](https://github.com/hodgef/simple-keyboard/issues)**
9 |
10 |
11 |
12 | ## 📦 Get started with simple-keyboard
13 |
14 | Check out the [Getting Started](https://simple-keyboard.com/getting-started) docs to begin.
15 |
16 | ## 📖 Documentation
17 | Check out the [simple-keyboard documentation](https://simple-keyboard.com/documentation) site.
18 |
19 | Feel free to browse the [Q&A / Use-cases](https://simple-keyboard.com/qa-use-cases/) page for advanced use-cases.
20 |
21 | ## 🚀 Demo
22 |
23 | [https://simple-keyboard.com/demo](https://simple-keyboard.com/demo)
24 |
25 |
26 | ### To run the Vue demos on your own computer
27 |
28 | * Clone this repository
29 | * `npm install`
30 | * `npm start`
31 | * Visit [http://localhost:4200/](http://localhost:4200/)
32 |
33 | ### All simple-keyboard versions
34 |
35 | * [Vanilla](https://virtual-keyboard.js.org)
36 | * [React.js](https://virtual-keyboard.js.org/react)
37 | * [Angular](https://virtual-keyboard.js.org/angular)
38 | * [Vue.js](https://virtual-keyboard.js.org/vuejs)
39 |
40 | ### Questions? Join the chat
41 |
42 |
43 |
44 | ## ✅ Contributing
45 |
46 | PR's and issues are welcome. Feel free to submit any issues you have at:
47 | [https://github.com/hodgef/simple-keyboard/issues](https://github.com/hodgef/simple-keyboard/issues)
48 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "vue-simple-keyboard",
3 | "version": "2.0.0",
4 | "description": "Javascript Virtual Keyboard for Kiosks, Mobile and Web",
5 | "keywords": [
6 | "virtual",
7 | "keyboard",
8 | "onscreen",
9 | "kiosk"
10 | ],
11 | "private": true,
12 | "scripts": {
13 | "serve": "NODE_OPTIONS='--openssl-legacy-provider' vue-cli-service serve",
14 | "build": "NODE_OPTIONS='--openssl-legacy-provider' vue-cli-service build",
15 | "lint": "NODE_OPTIONS='--openssl-legacy-provider' vue-cli-service lint"
16 | },
17 | "dependencies": {
18 | "simple-keyboard": "latest",
19 | "vue": "^2.5.22"
20 | },
21 | "devDependencies": {
22 | "@vue/cli-plugin-babel": "3.6.0",
23 | "@vue/cli-plugin-eslint": "3.6.0",
24 | "@vue/cli-service": "3.6.0",
25 | "babel-eslint": "^10.0.1",
26 | "eslint": "^5.8.0",
27 | "eslint-plugin-vue": "^5.0.0",
28 | "vue-template-compiler": "^2.5.21"
29 | },
30 | "eslintConfig": {
31 | "root": true,
32 | "env": {
33 | "node": true
34 | },
35 | "extends": ["plugin:vue/essential", "eslint:recommended"],
36 | "rules": {
37 | "no-console": "off"
38 | },
39 | "parserOptions": {
40 | "parser": "babel-eslint"
41 | }
42 | },
43 | "postcss": {
44 | "plugins": {
45 | "autoprefixer": {}
46 | }
47 | },
48 | "browserslist": ["> 1%", "last 2 versions", "not ie <= 8"]
49 | }
50 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/simple-keyboard/vue-simple-keyboard/8d8ac36e97114ecb3d55755cc65d1416f6a8c155/public/favicon.ico
--------------------------------------------------------------------------------
/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | codesandbox
9 |
10 |
11 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/App.css:
--------------------------------------------------------------------------------
1 | input {
2 | width: 100%;
3 | height: 100px;
4 | padding: 20px;
5 | font-size: 20px;
6 | border: none;
7 | box-sizing: border-box;
8 | }
9 |
10 | .simple-keyboard {
11 | max-width: 850px;
12 | }
13 |
--------------------------------------------------------------------------------
/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
9 |
10 |
11 |
12 |
13 |
38 |
39 |
46 |
--------------------------------------------------------------------------------
/src/SimpleKeyboard.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
57 |
58 |
59 |
61 |
--------------------------------------------------------------------------------
/src/main.js:
--------------------------------------------------------------------------------
1 | import Vue from "vue";
2 | import App from "./App.vue";
3 |
4 | Vue.config.productionTip = false;
5 |
6 | new Vue({
7 | render: h => h(App)
8 | }).$mount("#app");
9 |
--------------------------------------------------------------------------------
/vue.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | devServer: {
3 | disableHostCheck: true,
4 | },
5 | };
6 |
--------------------------------------------------------------------------------