From 93e12fd5f60610d34f9f44e51f3c94fd064c1f20 Mon Sep 17 00:00:00 2001 From: CaptainAchilles Date: Thu, 10 Aug 2017 19:41:06 +1000 Subject: [PATCH 1/4] Added vue-shims --- template/src/index.d.ts | 4 ++++ template/tsconfig.json | 1 + 2 files changed, 5 insertions(+) create mode 100644 template/src/index.d.ts diff --git a/template/src/index.d.ts b/template/src/index.d.ts new file mode 100644 index 0000000..d6e6b86 --- /dev/null +++ b/template/src/index.d.ts @@ -0,0 +1,4 @@ +declare module "*.vue" { + import Vue from "vue"; + export default Vue; +} diff --git a/template/tsconfig.json b/template/tsconfig.json index 31e6da8..6829fbb 100644 --- a/template/tsconfig.json +++ b/template/tsconfig.json @@ -9,6 +9,7 @@ "moduleResolution": "node" }, "files": [ + "./src/index.d.ts", "./src/main.ts" ] } From dc22049b5f475afad4520227030ddb9ee0fa9c14 Mon Sep 17 00:00:00 2001 From: CaptainAchilles Date: Thu, 10 Aug 2017 20:04:03 +1000 Subject: [PATCH 2/4] Escaped paramter for the template --- template/src/components/WinnerIsYou.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/src/components/WinnerIsYou.vue b/template/src/components/WinnerIsYou.vue index d20df46..3c36a83 100644 --- a/template/src/components/WinnerIsYou.vue +++ b/template/src/components/WinnerIsYou.vue @@ -1,5 +1,5 @@