-1

I have this dashboard layout that works perfectly in dev mode.

enter image description here

But as soon as I build the nextjs project, it breaks the layout.

enter image description here

I am using Tailwind css and preact for production. Any help would be appreciated.

Justin
  • 141
  • 3
  • 12

1 Answers1

1

The build was fixed by adding all the folders which contain tailwind css in taliwind.config.js in purge array like this...

enter image description here

Justin
  • 141
  • 3
  • 12