Closed X1nto closed 1 year ago
What does <head>
contain? Seems like compiler is working correctly
What does
<head>
contain? Seems like compiler is working correctly
Hm, it seems add styles
As far as I understood, it didn't add the s:c-Home-aa557f6b-0-1
thing to the #container
div.
Okay I do see it now. Can you make a repro of this?
Okay I do see it now. Can you make a repro of this?
Sure! I'll do it first thing in the morning.
repro.zip
@lxsmnsyc attached reproduction project, please see comments inside routes/index.tsx
and components/PageButton.tsx
.
repro.zip @lxsmnsyc attached reproduction project, please see comments inside
routes/index.tsx
andcomponents/PageButton.tsx
.
Here's some of my comments
//this also won't work if I replace `a` with `A` return ( <a href={props.href}> {props.children} </a> )
For the index page, it's definitely weird that the JSX isn't getting transformed. I'm most likely thinking that it transforms before solid-styled goes through. I'm not sure what to do with this one hmmm
Okay weird, seems like the pages are transformed first.
@X1nto I've released 0.9.1, please check if it works
@X1nto I've released 0.9.1, please check if it works
Fixed with routes, but using A
instead of a
still doesn't work. Although since that is out of the scope of this issue, I'll be closing this one. If you want, I can open a separate issue regarding the A
and a
thing.
@X1nto please read my other comment.
@X1nto please read my other comment.
Oh, sorry, didn't notice the comment 😄
So, I have a page in
src/routes/index.tsx
:However, these styles are not getting applied to the website:
There are no errors in the console, it just straight up refuses to work.
What's interesting, is that it seems to work inside the
src/root.tsx
file.