#solid styled doesnt seem to work for me
20 messages · Page 1 of 1 (latest)
It would be helpful to know:
- What bundler are you using, or perhaps template
- If there are any errors, please show
- Perhaps console logs
It was an outdated config
(I should definitely make a PR)
but anyways, I think you should follow part of the config here
i updated my vite config https://github.com/Kisuyo/todo/blob/master/vite.config.ts
but get error ```C:\Users\Igor\Documents\code\to do list\node_modules\solid-start\bin.cjs:528
if (typeof config.solidOptions.adapter === "string") {
^
TypeError: Cannot read properties of undefined (reading 'adapter') at resolveAdapter (C:\Users\Igor\Documents\code\to do list\node_modules\solid-start\bin.cjs:528:36)
at resolveConfig (C:\Users\Igor\Documents\code\to do list\node_modules\solid-start\bin.cjs:537:26)
at async C:\Users\Igor\Documents\code\to do list\node_modules\solid-start\bin.cjs:120:20
Node.js v18.12.1```
well I mean you shouldn't replace it as a whole
Replace vite-plugin-solid with solid-start/vite
thanks it seems to work❤️
@sage jungle the problem came back the css work in root but not in routes like index.tsx
like right now im adding all my styles in root.tsx global styles
I would really need to know if there's any error logs
I just cloned your repo, and it's all working fine for me.
no errors, and styling is applied.
the issue is that if u add a style to index.tsx it wont work it only works in the root.tsx file