Attempted import error: 'Signin' is not exported from './pages'.
mspotatogirl opened this issue · comments
mspotatogirl commented
import React from 'react';
import { BrowserRouter as Router,Route } from 'react-router-dom';
import {Home, Browse,Signin,Signup} from './pages';
import * as ROUTES from './constants/routes';
export default function App() {
return (
<Route exact path ={ROUTES.HOME}>
);
}
It shows following error:
Failed to compile.
./src/app.js
Attempted import error: 'Signin' is not exported from './pages'.
Shafiqul Islam commented
In /src/pages/
path, you should find a file signin.js
.
If you can't find that file, please create the file and you can get the code from here: https://github.com/karlhadwen/netflix/tree/master/src/pages
mspotatogirl commented
ty for helping out!