5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-04 02:51:56 +08:00
This commit is contained in:
Lea Anthony 2022-05-01 10:41:07 +10:00
parent 912d7cf34b
commit fac2a8ba3c
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405
3 changed files with 9 additions and 4 deletions

View File

@ -1,5 +1,6 @@
<script lang="ts" setup>
import HelloWorld from './components/HelloWorld.vue'</script>
import HelloWorld from './components/HelloWorld.vue'
</script>
<template>
<img id="logo" alt="Wails logo" src="./assets/images/logo-universal.png"/>

View File

@ -2,11 +2,12 @@ package main
import (
"embed"
"os"
"strings"
"github.com/leaanthony/debme"
"github.com/leaanthony/gosod"
"github.com/wailsapp/wails/v2/cmd/wails/internal/commands/initialise/templates/generate/s"
"os"
"strings"
)
//go:embed assets/common/*
@ -229,4 +230,6 @@ func createTemplate(template *template) {
//s.EXEC("wails build -debug")
//s.ECHO("HERE")
s.CD(cwd)
s.ECHO(`Until an auto fix is done, add "@babel/types": "^7.17.10" to vite-ts/frontend/package.json`)
}

View File

@ -14,6 +14,7 @@
"@vitejs/plugin-vue": "^2.3.1",
"typescript": "^4.5.4",
"vite": "^2.9.5",
"vue-tsc": "^0.34.7"
"vue-tsc": "^0.34.7",
"@babel/types": "^7.17.10"
}
}