Wails version family
v2
Operating System
Windows
Description
When scaffolding a new project with wails init -t vue-ts, the generated App.vue lacks a semicolon at the end of the import statement, leading to TypeScript error TS1005: ';' expected. when running wails dev.
Adding a semicolon ; after the import statement resolves the compilation error.
BUG:
<script lang="ts" setup>
import HelloWorld from './components/HelloWorld.vue'</script>
PASS:
<script lang="ts" setup>
import HelloWorld from './components/HelloWorld.vue';
</script>
To Reproduce
Steps to reproduce the behavior:
- Open PowerShell
- Run command
wails init -n lottery -t vue-ts to create new project
- Enter the project folder
- Run
wails dev
- See TS1005 error: ';' expected in src/App.vue
Expected behaviour
A newly initialized project using the vue-ts template should compile and start successfully with wails dev, without requiring manual edits to add a semicolon in src/App.vue.
Screenshots
Attempted Fixes
No response
System Details
- OS: Windows 11
- Wails CLI Version: Wails CLI v2.13.0
- Go Version: go version go1.26.4 windows/amd64
Additional context
No response
Wails version family
v2
Operating System
Windows
Description
When scaffolding a new project with wails init -t vue-ts, the generated App.vue lacks a semicolon at the end of the import statement, leading to TypeScript error TS1005: ';' expected. when running wails dev.
Adding a semicolon ; after the import statement resolves the compilation error.
BUG:
<script lang="ts" setup> import HelloWorld from './components/HelloWorld.vue'</script>PASS:
<script lang="ts" setup> import HelloWorld from './components/HelloWorld.vue'; </script>To Reproduce
Steps to reproduce the behavior:
wails init -n lottery -t vue-tsto create new projectwails devExpected behaviour
A newly initialized project using the vue-ts template should compile and start successfully with wails dev, without requiring manual edits to add a semicolon in src/App.vue.
Screenshots
Attempted Fixes
No response
System Details
Additional context
No response