-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
19 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<!-- | ||
This file is auto-generated by Vaadin. | ||
--> | ||
|
||
<html> | ||
<head> | ||
<meta charset="UTF-8"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"/> | ||
<title>###Project Name###</title> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<style> | ||
body { | ||
body, #outlet { | ||
height: 100vh; | ||
width: 100%; | ||
margin: 0; | ||
} | ||
|
||
#outlet { | ||
height: 100%; | ||
} | ||
</style> | ||
<!-- index.ts is included here automatically (either by the dev server or during the build) --> | ||
</head> | ||
<body> | ||
<!-- This outlet div is where the views are rendered --> | ||
<div id="outlet"></div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
/****************************************************************************** | ||
* Copied from generated file to wrap in AuthProvider | ||
******************************************************************************/ | ||
|
||
import { createElement } from 'react'; | ||
import { createRoot } from 'react-dom/client'; | ||
import { RouterProvider } from 'react-router-dom'; | ||
import { AuthProvider} from "./auth"; | ||
import { router } from 'Frontend/routes.js'; | ||
import { router } from 'Frontend/generated/routes.js'; | ||
import { AuthProvider } from './auth'; | ||
|
||
function App() { | ||
return ( | ||
<AuthProvider> | ||
<RouterProvider router={router} /> | ||
</AuthProvider> | ||
); | ||
return <AuthProvider> | ||
<RouterProvider router={router} /> | ||
</AuthProvider>; | ||
} | ||
|
||
createRoot(document.getElementById('outlet')!).render(createElement(App)); |
This file was deleted.
Oops, something went wrong.