Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SvelteKit example #14

Closed
brillout opened this issue Dec 31, 2021 · 6 comments
Closed

Add SvelteKit example #14

brillout opened this issue Dec 31, 2021 · 6 comments

Comments

@brillout
Copy link
Owner

Add example examples/svelte of using Telefunc + SvelteKit.

Telefunc supports Vite: there are no expected problems here.

@lkj4
Copy link

lkj4 commented Oct 5, 2022

FWIW, just tried telefunc with SvelteKit and got File '/home/[...]/src/lib/hello.telefunc.ts' is not a module. (ts 2306). In my vite.cofig.js I tried both: plugins: [sveltekit(), telefunc()] and plugins: [telefunc(), sveltekit()].

@brillout
Copy link
Owner Author

brillout commented Oct 5, 2022

SvelteKit isn't supported yet, see sveltejs/kit#6700.

@brillout
Copy link
Owner Author

Actually, SvelteKit is supported, it's just that you can't save .telefunc.js files in lib/server/.

@brillout
Copy link
Owner Author

PR welcome to add a SvelteKit example.

@UnsolvedCypher
Copy link

I believe this can be closed, the example is already on the site

@brillout
Copy link
Owner Author

Indeed, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants