importing file in typescript

hii everyone! anyone can help me to figure out the solution. I'm importing the file in typescript but getting error Module not found: Error: Can't resolve './components/Header' in 'C:\Users\nidhi\Documents\my-projects\estate-website\src' even the path is correct import React from 'react'; import { Box } from '@mui/system'; import Header from './components/Header'; import MainWrapper from './components/MainWrapper'; import './css/App.css' const App = () => { return ( <Box maxWidth='1440px' m='auto' position='relative'> <Header/> <MainWrapper/> </Box> ) } export default App;
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server