Skip to content

Commit 0d0b76c

Browse files
BackendExpertJehanKandyAnupa1998
committed
Update README.md
Co-Authored-By: JehanKandy <jehankandy@gmail.com> Co-Authored-By: Anupa Gamage <125038143+Anupa1998@users.noreply.github.com>
1 parent 8b90fd5 commit 0d0b76c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export default function App() {
9797

9898
```json
9999

100-
"SignInUpTW": "node node_modules/login-signup-react/index.js --destination=src/components/LoginSignUp"
100+
"SignInUpTW": "node -e \"require('login-signup-react').RunReactLoginSignInTW()\""
101101

102102
```
103103

@@ -108,7 +108,7 @@ export default function App() {
108108
"dev": "vite",
109109
"build": "vite build",
110110
"serve": "vite preview",
111-
"SignInUp": "node node_modules/login-signup-react/index.js --destination=src/components/LoginSignUp"
111+
"SignInUpTW": "node -e \"require('login-signup-react').RunReactLoginSignInTW()\""
112112
},
113113

114114
```
@@ -121,16 +121,16 @@ export default function App() {
121121
122122
```
123123

124-
- after you running the command you can see a folder `LoginSignUp` in path `src/components` in your Project
124+
- after you running the command you can see a folder `LoginSignUpTW` in path `src/components` in your Project
125125

126126
- after done this you have to update App.jsx file in the project
127127

128128
``` jsx
129129

130130

131131
import { BrowserRouter, Route, Routes } from "react-router-dom";
132-
import SignIn from "./components/LoginSignUp/SignIn"; // Importing the Templete the created by run npm package
133-
import SignUp from "./components/LoginSignUp/SignUp"; // Importing the Templete the created by run npm package
132+
import SignIn from "./components/LoginSignUpTW/SignIn"; // Importing the Templete the created by run npm package
133+
import SignUp from "./components/LoginSignUpTW/SignUp"; // Importing the Templete the created by run npm package
134134

135135
export default function App() {
136136
return (

0 commit comments

Comments
 (0)