Skip to content

Commit

Permalink
(#238) Upgrade ReactJs 19
Browse files Browse the repository at this point in the history
  • Loading branch information
phongnguyend committed Jan 5, 2025
1 parent a6a5448 commit 699c753
Show file tree
Hide file tree
Showing 6 changed files with 556 additions and 362 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-ui-reactjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: "22"
- run: npm install --legacy-peer-deps
- run: npm install
working-directory: ./src/UIs/reactjs/
- run: CI=false npm run build # Treating warnings as errors because process.env.CI = true.
working-directory: ./src/UIs/reactjs/
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@
npm install
npm run dev
```
+ Update [environment.dev.js](/src/UIs/reactjs/src/environments/environment.dev.js) & [environment.js](/src/UIs/reactjs/src/environments/environment.js)
+ Update [environment.dev.tsx](/src/UIs/reactjs/src/environments/environment.dev.tsx) & [environment.tsx](/src/UIs/reactjs/src/environments/environment.tsx)
```js
const environment = {
OpenIdConnect: {
Expand All @@ -755,9 +755,9 @@
+ Navigate to folder: [UIs/vuejs/](/src/UIs/vuejs/)
```
npm install
npm run serve
npm run dev
```
+ Update [environment.dev.js](/src/UIs/vuejs/environments/environment.dev.js) & [environment.dev.js](/src/UIs/vuejs/environments/environment.js)
+ Update [environment.dev.ts](/src/UIs/vuejs/environments/environment.dev.ts) & [environment.dev.ts](/src/UIs/vuejs/environments/environment.ts)
```js
const environment = {
OpenIdConnect: {
Expand Down
Loading

0 comments on commit 699c753

Please sign in to comment.