dyaliCode / svelte-formly

Generator dynamic forms for Svelte JS
https://svelte.formly-js.com
MIT License
253 stars 30 forks source link

Error: <Field> is not a valid SSR component. #61

Closed magick93 closed 1 year ago

magick93 commented 1 year ago

Hello

I'm trying to use svelte-formly in Sveltekit and am getting the below error.

[1] Error: <Field> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules. Otherwise you may need to fix a <Field>.
kamalkech commented 1 year ago

which version of sveltekit and svelte-formly if u follow the doc and u use last version sveltekit and svelte-formly should be working like my example here :

image