electron-react-boilerplate / electron-react-boilerplate/docs
Problem following tailwind integration | https://electron-react-boilerplate.js.org/docs/styling/#tailwind-integration
- Dominant language
- JavaScript
- Stars
- 16
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Description
## 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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.