In my nuxt.config.ts I had this code bit:
tailwindcss: { cssPath: '~/assets/css/tailwind.css', configPath: 'tailwind.config.js ', },
This is what broke it, even though the paths were correct.