Error installing/using Flowbite plugin for Tailwind in NextJS

Viewed 25

I am trying to use Flowbite (https://flowbite.com) in my NextJS app. I did all the steps from https://flowbite.com/docs/getting-started/next-js/ this tutorial but I get some kind of CSS error... This is what the console throws at me:

./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!./styles/globals.css
SyntaxError: Unexpected token (10:18)

I can't find the position of the caused error.

I don't really understand what is going on. Anyone ever had this problem before or knows what's going on here? Thanks for your help!

0 Answers
Related