Qwik Svelte allows you to use Svelte components in an existing Qwik application.
https://github.com/raymondmuller/qwik-svelte-example
run npm install qwik-svelte inside your Qwik project<
Recommended Vite Config
import { defineConfig } from "vite";
import { qwikVite } from "@builder.io/qwik/optimizer";
import { qwikCity } from "@builder.io/qwik-city/vite";
import { qwikSvelte } from "../vite";
import { svelte } from "@sveltejs/vite-plugin-svelte";
import tsconfigPaths from "vite-tsconfig-paths";
export default defineConfig(() => {
return {
plugins: [
qwikCity(),
qwikVite(),
qwikSvelte(),
svelte({
compilerOptions: {
accessors: true,
hydratable: true,
},
}),
tsconfigPaths(),
],
};
});