adriancu
adriancu
I'm getting the "window is not defined" from within the pikaday.js calendar library, which I'm using in a Solid Component. (SolidStart, with a bare template and SSR no, and tailwind)...
Thanks, I tried the dynamic import, but for anywhere within the scope of onMount( ... ), I get a compile error "Unexpected reserved word 'await'". I tried the await import...
@Vexcited, thanks! Worked with a properly formed async/await :). For the benefit of others who may come across this, here's the working code: ```jsx export default function DateForm() { onMount(...