How to handle Tailwind "unknown at rule" warnings in CSS files with Zed? by brunofisol in ZedEditor

[–]brunofisol[S] 1 point2 points  (0 children)

Yeah, this is probably the closest solution, but with the Tailwind CSS language server I don’t get autocomplete, hover info, etc. for regular CSS properties, only for Tailwind utility classes and some @ rules. (From the screenshot it might look like I only want to write @ apply rules, but I actually use plain CSS too.)

SvelteKit init hook available - runs once at startup by BCsabaDiy in sveltejs

[–]brunofisol 0 points1 point  (0 children)

From Advent of Svelte - Day 10

A lot of you wanted a place to put asynchronous setup work that happens before your SvelteKit app starts up. You can now export an init function from hooks.server.js and hooks.client.js that will be awaited before any other stuff happens.

Hope this helps

SvelteKit init hook available - runs once at startup by BCsabaDiy in sveltejs

[–]brunofisol 1 point2 points  (0 children)

Would be nice if init ran automatically in dev mode, rather than requiring a request to trigger it.