[PhotonClient] Vite and Typescript complete refactor (#884)

This commit is contained in:
Sriman Achanta
2023-08-21 01:51:35 -04:00
committed by GitHub
parent 8397b43bef
commit f623e4a1cc
119 changed files with 11821 additions and 19318 deletions

View File

@@ -72,16 +72,9 @@ task copyClientUIToResources(type: Copy) {
into "${projectDir}/src/main/resources/web/"
}
task copyThinclientToResources(type: Copy) {
from "${projectDir}/../photon-thinclient/"
into "${projectDir}/src/main/resources/web/"
}
task buildAndCopyUI {}
buildAndCopyUI.dependsOn copyClientUIToResources
buildAndCopyUI.dependsOn copyThinclientToResources
copyClientUIToResources.dependsOn runNpmOnClient
copyClientUIToResources.shouldRunAfter runNpmOnClient

View File

@@ -1 +1,15 @@
<p>UI has not been copied!</p>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="./favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Photon Client</title>
<script type="module" crossorigin src="./assets/index-09a9e0fa.js"></script>
<link rel="stylesheet" href="./assets/index-338da7f4.css">
</head>
<body>
<div id="app"></div>
</body>
</html>