File tree Expand file tree Collapse file tree 2 files changed +12
-23
lines changed Expand file tree Collapse file tree 2 files changed +12
-23
lines changed Original file line number Diff line number Diff line change 1- # React Router + Telefunc
1+ # React Router + Telefunc Template
22
3- Warning : dev mode works, but builds still fail at the moment .
3+ A template for setting up [ Telefunc ] ( https://github.com/brillout/telefunc ) on React-Router .
44
5- ## Getting Started
5+ Telefunc introduces Remote Functions instead of APIs. Streamlining backend interactions significantly.
66
7- ### Installation
87
9- Install the dependencies:
8+ ## Getting Started
109
1110``` bash
12- npm install
13- ```
11+ npm install # Install the dependencies:
1412
15- ### Development
13+ npm run dev # Start the development server with HMR
14+ # Your application will be available at http://localhost:5173
1615
17- Start the development server with HMR:
18-
19- ``` bash
20- npm run dev
16+ npm run build # Build for production
17+ npm run start # Start the production build
2118```
2219
23- Your application will be available at ` http://localhost:5173 ` .
24-
25- ## Building for Production
26-
27- Create a production build:
28-
29- ``` bash
30- npm run build
31- ```
20+ Special thanks to @brillout for creating [ Telefunc] ( https://github.com/brillout/telefunc ) and troubleshooting the build issues.
Original file line number Diff line number Diff line change 55 "scripts" : {
66 "build" : " react-router build" ,
77 "dev" : " react-router dev" ,
8- "start" : " react-router-serve ./build/server/index .js" ,
8+ "start" : " react-router-serve ./build/server/index2 .js" ,
99 "typecheck" : " react-router typegen && tsc"
1010 },
1111 "dependencies" : {
3030 "typescript" : " ^5.8.3" ,
3131 "vite-tsconfig-paths" : " ^5.1.4"
3232 }
33- }
33+ }
You can’t perform that action at this time.
0 commit comments