File tree Expand file tree Collapse file tree 2 files changed +27
-4
lines changed
Expand file tree Collapse file tree 2 files changed +27
-4
lines changed Original file line number Diff line number Diff line change 4747- - with Database
4848- - now working with Mysql witout MVC and With MVC
4949
50+ ## v5.0.0 - 27 July 2024
51+
52+ - Updating Package
53+ - 5th Major Release
54+ - same as v4.0.0
55+ - Updating is
56+ - - developer no need to copy the commands in here to genarate backend and Front end
57+ - - only thing is run the following command
58+
59+ ``` js
60+
61+ npx create- login- SignUp
62+
63+ ```
64+
65+ - - Then Select the option that you need
66+
67+
5068# IMPORTANT Notice
5169
5270- This NPM package works with <b >ReactJS</b > Projects (from in v2.0.0)
Original file line number Diff line number Diff line change @@ -79,21 +79,21 @@ async function main() {
7979 const answers = await inquirer . prompt ( [
8080 {
8181 type : 'list' ,
82- name : 'selection ' ,
82+ name : 'selection1 ' ,
8383 message : 'Select Your Front End :' ,
8484 choices : [ 'Uing TailWindCSS' , 'Using Custom CSS' ] ,
8585 } ,
8686 {
8787 type : 'list' ,
88- name : 'selection ' ,
88+ name : 'selection2 ' ,
8989 message : 'Select Your BackEnd End :' ,
9090 choices : [ 'Using MySQL without MVC' , 'Using MySQL with MVC' ] ,
9191 }
9292 ] ) ;
9393
94- const { selection } = answers ;
94+ const { selection1 , selection2 } = answers ;
9595
96- switch ( selection ) {
96+ switch ( selection1 ) {
9797 case 'Uing TailWindCSS' :
9898 await RunReactLoginSignInTW ( ) ;
9999 break ;
@@ -102,6 +102,11 @@ async function main() {
102102 await RunReactLoginSignIn ( ) ;
103103 break ;
104104
105+ default :
106+ console . log ( 'Invalid selection.' ) ;
107+ }
108+
109+ switch ( selection2 ) {
105110 case 'Using MySQL without MVC' :
106111 await RunBackendMysqlNoMVC ( ) ;
107112 break ;
You can’t perform that action at this time.
0 commit comments