Open Zahara-Nour opened 1 year ago
Getting what appears to be same issue on CommonLabel (v7.0.0-beta.0)
This is impeding usage in svelte-kit with ssr crashing because of this.
This is a huge issue. At this point I am going to have to find another UI Framework. There doesn't seem to be much progress for SSR, the documentation is non-existent, and this the norms are all over the place.
This is explicitly what the TypeScript documentation tells you to do. What kind of setup do you have that's causing this issue? I'm using SMUI in SvelteKit and I'm not getting this error. The demo site is built with SvelteKit, and it's all prerendered with SSR, so it's likely that this is caused by a configuration issue.
While using an Icon from @smui/common :
Seems that there is an error with the extension of the index file
from CommonIcon.svelte
import { SmuiElement, Svg } from './index.js';
whereas there is an index.ts file in the same directory.