mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 02:51:56 +08:00
parent
912d7cf34b
commit
fac2a8ba3c
@ -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"/>
|
||||
|
@ -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`)
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user