@@ -17,8 +17,8 @@ const destinationAppTW = argv.destination || path.join(process.cwd(), 'src/');
1717const sourcePR = argv . source || path . join ( __dirname , 'PrivateRoute' ) ;
1818const destinationPR = argv . destination || path . join ( process . cwd ( ) , 'src/components/PrivateRoute' ) ;
1919
20- const sourceDash = argv . source || path . join ( __dirname , 'PrivateRoute ' ) ;
21- const destinationDash = argv . destination || path . join ( process . cwd ( ) , 'src/components/PrivateRoute ' ) ;
20+ const sourceDash = argv . source || path . join ( __dirname , 'Dashboard ' ) ;
21+ const destinationDash = argv . destination || path . join ( process . cwd ( ) , 'src/components/Dashboard ' ) ;
2222
2323const sourceBackendMysqlNoMVC = argv . source || path . join ( __dirname , 'BackEndMysqlNoMVC/server' ) ;
2424const destinationBackendMysqlNoMVC = argv . destination || path . join ( process . cwd ( ) , 'server/' ) ;
@@ -28,7 +28,8 @@ async function RunReactLoginSignIn() {
2828 try {
2929 await fs . copy ( source , destination ) ;
3030 await fs . copy ( sourceApp , destinationApp ) ;
31- await fs . copy ( sourcePR , destinationPR )
31+ await fs . copy ( sourcePR , destinationPR ) ;
32+ await fs . copy ( sourceDash , destinationDash ) ;
3233 console . log ( 'The Login and SignUp templete Successfully Createed' ) ;
3334 } catch ( err ) {
3435 console . error ( 'Error copying folder:' , err ) ;
@@ -42,6 +43,7 @@ async function RunReactLoginSignInTW() {
4243 await fs . copy ( sourceTW , destinationTW ) ;
4344 await fs . copy ( sourceAppTW , destinationAppTW ) ;
4445 await fs . copy ( sourcePR , destinationPR ) ;
46+ await fs . copy ( sourceDash , destinationDash ) ;
4547 console . log ( 'The Login and SignUp templete Successfully Createed' ) ;
4648 } catch ( err ) {
4749 console . error ( 'Error copying folder:' , err ) ;
0 commit comments