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
if you choose to add tailwind when generating the frontend, then when you run the frontend with yarn start:frontend i got error frontend: Module parse failed: Unexpected character '@' (1:0)
if you choose to add tailwind when generating the frontend, then when you run the frontend with
yarn start:frontend
i got errorfrontend: Module parse failed: Unexpected character '@' (1:0)
it required removing the line
"next-transpile-modules": "^10.0.1",
from package.json as suggested here tailwindlabs/tailwindcss#11229 since its a deprecated package as mentioned here https://www.npmjs.com/package/next-transpile-modulesbut it was also necessary to follow the Migration Guide mentioned here https://github.com/martpie/next-transpile-modules/releases/tag/the-end, for example i had to change my next.config.js file from:
to instead be:
then it finally compiled my frontend code :)
i published my working example based on this project here https://github.com/ltfschoen/nft-coretime
The text was updated successfully, but these errors were encountered: