Replies: 3 comments 3 replies
-
Hi @m2rtv 👋 . You should be able to get it working with Svelte 5 by doing the following steps: Update Svelte dependenciesnpm install svelte@latest @sveltejs/vite-plugin-svelte@next Svelte recommends you use the next version of [vite-plugin-svelte] You are using Svelte 5.1.2 with vite-plugin-svelte@3. Active Svelte 5 support has moved to vite-plugin-svelte@4.
To receive bug fixes and new features update your devDependencies to "@sveltejs/vite-plugin-svelte": "^4.0.0-next.6" and install.
For framework integrations that depend on it, you might have to add an override:
"overrides": {"@sveltejs/vite-plugin-svelte": "^4.0.0-next.6"} Update
|
Beta Was this translation helpful? Give feedback.
-
Sorry that should have said |
Beta Was this translation helpful? Give feedback.
-
Hi @m2rtv, Having played with Svelte 5 some more, you can actually update your import { mount } from 'svelte'
import "./styles.css";
import App from './App.svelte'
const app = mount(App, {
target: document.getElementById('app'),
})
export default app This means you can remove the compiler options. Also, the next major release of Plugma is now available. Just install it using: npm install plugma@latest |
Beta Was this translation helpful? Give feedback.
-
Would be nice if we could use Svelte 5 at some point as well.
Enjoying Plugma so far, thanks!
Beta Was this translation helpful? Give feedback.
All reactions