Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions v2/pkg/templates/templates/svelte-ts/frontend/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { mount } from 'svelte'
import './style.css'
import App from './App.svelte'

const app = new App({
target: document.getElementById('app')
const app = mount(App, {
target: document.getElementById('app') as HTMLElement
})

export default app
3 changes: 2 additions & 1 deletion v2/pkg/templates/templates/svelte/frontend/src/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { mount } from 'svelte'
import './style.css'
import App from './App.svelte'

const app = new App({
const app = mount(App, {
target: document.getElementById('app')
})

Expand Down
4 changes: 4 additions & 0 deletions website/src/pages/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Fixed v2 `svelte` and `svelte-ts` templates scaffolding a blank page by migrating from the removed Svelte 4 `new App()` API to Svelte 5 `mount()` [#6001](https://github.com/wailsapp/wails/issues/6001) by @haoku123

## v2.15.0 - 2026-08-17

### Added
Expand Down
Loading