79269641

Date: 2024-12-10 20:12:08
Score: 1
Natty:
Report link

using import instead of require solved the issue for me:

import tailwindAnimate from "tailwindcss-animate";
import tailwindTypography from "@tailwindcss/typography";

const Config = {
  ...
  plugins: [tailwindAnimate, tailwindTypography],
};

export default Config;

This is the proper way to do this when using ES Modules

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Morgana Freeman