On the Getting Dynamic section of the tutorial it seems I should be getting some styling applied after the pages are scaffolded. I’m not.
I can see in the PostsLayout.js file there is the rw-scaffold className and the scaffold.css file is in web/src, but it isn’t getting loaded when spinning the site up.
The one glitch i did run into during the tutorial was the first scaffolding for Posts. It failed a couple times. Then a note i saw on here that said to:
yarn rw db save yarn rw db up
and then the scaffolding worked. Not sure yet if that had anything to do with the CSS bit, but possibly.
I’m going to do a fresh run-through and see if it happens again.
Yeah let us know the outcome of that. We released a patch recently that would prevent the file itself, scaffold.css, from being created if it already existed, but I don’t think we messed with the code that adds the import.
this happened to me after discarding git changes. It seems like yarn rw g scaffold post doesn’t add the CSS reference. (Could this be somehow related to the presence of empty folders?).
Anyway, you just need to add import "./scaffold" in web\src\App.tsx as mentioned above