You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I spin up the server with $ npm run dev it was very clear that the CSS was not loading. Note I have not yet made any changes to the repo. Here's how it looks as deployed.
Sure enough looking in dist after running npm run build and the css is not generating.
Can you work out why main.css is not compiling into /dist?
For anyone else following:
The web console also provided this error:
The resource from “http://localhost:8888/assets/css/main.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
Which some web searching revealed usually occurs when a file is not found.
The text was updated successfully, but these errors were encountered:
WORKAROUND: For anyone wanting to use this starter kit out of the box before this is fixed, roll back to the commit before tailwind JIT was added and use that as every thing works out of the box and it deploys successfully.
When I spin up the server with $ npm run dev it was very clear that the CSS was not loading. Note I have not yet made any changes to the repo. Here's how it looks as deployed.
Sure enough looking in dist after running npm run build and the css is not generating.
Can you work out why main.css is not compiling into /dist?
For anyone else following:
The web console also provided this error:
Which some web searching revealed usually occurs when a file is not found.
The text was updated successfully, but these errors were encountered: