How to add class to body in Solid Start
Probably a stupid beginners question, but I'm migrating my app from a Vite SPA to Solid Start and I have some tailwind classes on the body element but cannot find any examples anywhere of how to access the body element in Solid Start. I've looked through the docs, all the example in the repo, this discord and can't find anything. Below is my app.tsx
3 Replies
You can add them to entry-server file I believe
Ah yes it is right there. I didn't even think to look in the server file. Thanks!
Perfect