DEV Community

Discussion on: Using Dark Mode in your react app! πŸŒ™

Collapse
 
robertbernstein profile image
Robert Bernstein

When I added the first two component files and updated the App.tsx file, I ran npm dev run and didn't see any of the changes. Did I miss a step? Do I need to do something to recompile the TypeScript?

Collapse
 
franklin030601 profile image
Franklin Martinez
  1. Have you already imported the first component files into the App.tsx file? πŸ€”

  2. The correct command to get the server up is "npm run dev".

If you like, you can check the grab in my GitHub repository πŸ™Œ.
github.com/Franklin361/dark-light-app