From 845e3b08292a72cef25894f0763b5405c4ddd572 Mon Sep 17 00:00:00 2001 From: daoif <46199660+daoif@users.noreply.github.com> Date: Thu, 5 May 2022 04:19:20 +0800 Subject: [PATCH] Make TS template in wails beta 35 can be built and run normally (#31) * Make TS template in wails beta 35 can be built and run normally * Make TS template in wails beta 35 can be built and run normally2 --- frontend/packages/typescript/package.json | 7 +++-- frontend/packages/typescript/src/App.vue | 26 ++++++++++++------- .../src/components/public/OpenLink.vue | 3 ++- wails.tmpl.json | 3 +-- 4 files changed, 23 insertions(+), 16 deletions(-) diff --git a/frontend/packages/typescript/package.json b/frontend/packages/typescript/package.json index 5a2600f..9e66b98 100644 --- a/frontend/packages/typescript/package.json +++ b/frontend/packages/typescript/package.json @@ -1,11 +1,10 @@ { "name": "ts", + "private": true, "version": "0.1.0", "scripts": { "dev": "vite", - "build:finally": "vue-tsc --noEmit && vite build --emptyOutDir", - "build:dev": "vite build --mode development --emptyOutDir", - "build:dev:watch": "vite build --mode development --watch --emptyOutDir", + "build":"vite build", "preview": "vite preview" }, "dependencies": { @@ -15,7 +14,7 @@ "devDependencies": { "@vitejs/plugin-vue": "^2.3.1", "sass": "^1.49.9", - "typescript": "^4.4.4", + "typescript": "^4.5.4", "vite": "^2.9.2", "vue-tsc": "^0.28.10", "vite-plugin-html": "^3.2.0" diff --git a/frontend/packages/typescript/src/App.vue b/frontend/packages/typescript/src/App.vue index 76555fd..be2d648 100644 --- a/frontend/packages/typescript/src/App.vue +++ b/frontend/packages/typescript/src/App.vue @@ -12,13 +12,8 @@