Skip to content

Commit be27a70

Browse files
committed
docs(site): bump
1 parent 3565311 commit be27a70

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

site/src/routes/index.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@ export const page = (
2828
"include": ["**/*.svelte", "**/*.ts", "**/*.tsx"],
2929
}`}</code>
3030
</Pre>
31+
<p>vite.config.ts</p>
32+
<Pre>
33+
<code>{`import { sveltekit } from "@sveltejs/kit/vite";
34+
import { defineConfig } from "vite";
35+
// Put svelteJsxSnippet plugin
36+
import { svelteJsxSnippet } from "svelte-jsx-snippet/vite";
37+
38+
export default defineConfig({
39+
plugins: [sveltekit(), svelteJsxSnippet()],
40+
});`}</code>
41+
</Pre>
3142
</section>
3243
<section>
3344
<h2 id="api">API</h2>

0 commit comments

Comments
 (0)