Stylesheet app.css?url import
While it works, I'm getting a Typescript error importing a stylesheet.
Is this to be expected, or do I need to do it differently?

4 Replies
rival-black•10mo ago
add
/// <reference types="vinxi/types/client" />
to your client entry filecloudy-cyanOP•10mo ago
rock on! I noticed the demo projects had
module "*?url"
, but I couldn't find where it was coming from. Thanks!rival-black•10mo ago
if this is missing from our examples, please create a PR to add this
cloudy-cyanOP•10mo ago
Yeah I think I copied from the Getting started, but I just checked and it's in there. So either I didn't copy it correctly or it was added later (I started with this toy project on Aug 1st)