Skip to content

Commit f7441a7

Browse files
Update README.md
1 parent 883ead2 commit f7441a7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,20 @@ This is a plug and play library for [`Sveltekit`](https://kit.svelte.dev/) proje
4242
4343
### Code Setup
4444
45+
Add this to your `vite.config.ts`
46+
```bash
47+
import { sveltekit } from '@sveltejs/kit/vite';
48+
import { defineConfig } from 'vite';
49+
50+
export default defineConfig({
51+
plugins: [sveltekit()],
52+
ssr: {
53+
noExternal: ['@fontsource-variable/inter']
54+
}
55+
});
56+
57+
```
58+
4559
1. Install the package
4660
4761
```bash

0 commit comments

Comments
 (0)