Skip to content

Commit

Permalink
Add missing dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
pavinduLakshan committed Jan 6, 2025
1 parent 4c61f33 commit fbc136b
Show file tree
Hide file tree
Showing 4 changed files with 817 additions and 1,916 deletions.
2 changes: 1 addition & 1 deletion samples/asgardeo-react-app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<title>Asgardeo React Sample App</title>
</head>
<body>
<div id="root"></div>
Expand Down
5 changes: 3 additions & 2 deletions samples/asgardeo-react-app/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "my-app",
"name": "asgardeo-react-app",
"private": true,
"version": "0.0.0",
"type": "module",
Expand All @@ -13,7 +13,8 @@
"@asgardeo/auth-react": "^5.2.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.3.0"
"react-router-dom": "^6.3.0",
"@textea/json-viewer": "^2.14.0"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
Expand Down
8 changes: 6 additions & 2 deletions samples/asgardeo-react-app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ export default defineConfig({
cert: fs.readFileSync(path.resolve(__dirname, 'public', 'cert', 'localhost-cert.pem')),
},
host: 'localhost',
port: 3000,
}
port: 3000
},
build: {
commonjsOptions: { include: [] },
// commonjsOptions: { }, // Edit:
},
})
Loading

0 comments on commit fbc136b

Please sign in to comment.