From 568fe141d92714a61ab59b5659f933ee14fb6136 Mon Sep 17 00:00:00 2001 From: James Hush Date: Thu, 13 Oct 2022 18:50:55 +0800 Subject: [PATCH 1/7] chore: Update to latest Vue version and build tools (#11) * Update to vite, use latest vue tools Remove comment Update babel and package-lock Fix lint issues Fix lint issues Fix prettier Add github action Test before building * Lint ts files too * Add tsconfig Lint ts files too Add tsconfig Add tsconfig Use vanilla js in Vue does not work Still not working Add console log for vue mounted Gate off and blocked instead of playable THIS WORKS. Move div back into Vue. THIS WORKS Fix spacing Fix tsconfig remove edge cases Remove comments Remove video tile --- index.html | 2 +- src/components/CallTile.vue | 314 +++++++++++++++++++++++++++++++----- src/{main.js => main.ts} | 0 tsconfig.json | 5 +- 4 files changed, 275 insertions(+), 46 deletions(-) rename src/{main.js => main.ts} (100%) diff --git a/index.html b/index.html index f7c14a7..9b16f2f 100644 --- a/index.html +++ b/index.html @@ -15,6 +15,6 @@ >
- + diff --git a/src/components/CallTile.vue b/src/components/CallTile.vue index 8a03c0b..7ee0805 100644 --- a/src/components/CallTile.vue +++ b/src/components/CallTile.vue @@ -26,16 +26,7 @@
- +
- diff --git a/src/main.js b/src/main.ts similarity index 100% rename from src/main.js rename to src/main.ts diff --git a/tsconfig.json b/tsconfig.json index eee4c29..4fb7d52 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,3 +1,6 @@ { - "extends": "@vue/tsconfig/tsconfig.web.json" + "extends": "@vue/tsconfig/tsconfig.web.json", + "compilerOptions": { + "lib": ["ES2017"] + } } From 0b80a2d1e45883da6460d639c37657f751234bfe Mon Sep 17 00:00:00 2001 From: James Hush Date: Mon, 24 Oct 2022 19:20:38 +0800 Subject: [PATCH 2/7] Use a ref --- src/components/CallTile.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/CallTile.vue b/src/components/CallTile.vue index 7ee0805..43eb4d0 100644 --- a/src/components/CallTile.vue +++ b/src/components/CallTile.vue @@ -26,7 +26,7 @@
-
+
-