Css is not working #20
JacquesvanWyk
started this conversation in
General
Replies: 3 comments 3 replies
-
|
I have the same issue as well, probably because the blocks are loaded within an iframe and the css isn't being loaded or injected into it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
The only way I was able to get the blocks working was by updating 'preview_css' => '/build/assets/app-bd4d6956.css', |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Another option that helped was to include the css into the blade file inside the blocks public function render()
{
return <<<'blade'
@vite('resources/css/app.css')
<div class="bg-white">
blade;
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey I did setup as on docs. i have on site tailwind setup but the block dont seem to show css. Did I setup something wrong?
`
`
My config is basically same as per docs
Beta Was this translation helpful? Give feedback.
All reactions