The problem :
ERB: 4.5.0
| Depencies |
Version |
| tailwindcss |
^3.0.23 |
| postcss |
^8.4.8 |
| postcss-loader |
^6.2.1 |
| autoprefixer |
^10.4.2 |
In the part 4 for the tailwind.config.js
import colors from "tailwindcss/colors";
SyntaxError: 'import' and 'export' may appear only with 'sourceType: module'
The logical fix :
const colors = require('tailwindcss/colors');
As an extra the part 2 ins't clear enougth and the github exemple don't work for me.
PS: It's the first time ever i do some kind of contribute sorry if it's not the right way