Relative Content

Tag Archive for reactjsnode.jstailwind-css

Two node_modules folders in a React and Tailwind project

I’m absolutely new to frontend dev and wanted to create my first React project with Tailwind. I first installed React (with TypeScript) then added Tailwind to the project as it’s documented on their website here and this resulted in two node_modules folders and two package.json files in the project. Is this normal? If not, how can I merge them together? Thanks

react page not rendering

i have a hero component file in a component folder outside the src folder, then i have an admin folder inside the src folder where there is a file called AdminHome. Now i have been trying to import the the hero component into the AdminHome file so i can use it but it kept saying “Failed to resolve import “../components/Hero” from “src/page/admin/AdminHome.jsx”.”