ReplyApr 26, 2020Ankur Singh I’m not very good with webpack, I usually use Create-react-app. Maybe change the “file name” path in the webpack config to “index.js” instead of “main.js”, good luck !ERROR in ./index.js Module build failed: SyntaxError: Unexpected token
CommentApr 26, 2020It’s really great for small projects you want to get done fast. But once you go down that rabbit hole, it’s hard to refactor if that I’s something you want to do in the future.Have you tried TailwindCSS? What are your thoughts?
CommentApr 26, 2020You don’t need the useEffect in there if your not using it. If you are import it with component from react.ERROR in ./index.js Module build failed: SyntaxError: Unexpected token