mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-24 01:31:44 +00:00
[PhotonClient] Vite and Typescript complete refactor (#884)
This commit is contained in:
@@ -1,12 +1,19 @@
|
||||
<script setup lang="ts">
|
||||
const devMode = process.env.NODE_ENV === "development";
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div
|
||||
style="overflow:hidden; height:100%; width:100%"
|
||||
>
|
||||
<div
|
||||
v-if="() => process.env.NODE_ENV === 'development'"
|
||||
v-if="devMode"
|
||||
style="width: 100%; height: 100%; padding: 16px"
|
||||
>
|
||||
<span style="color: white; font-weight: bold">PhotonClient is in development mode so the documentation page will not load. Please recompile in production mode with the documentation copied over after a full build.</span>
|
||||
<span style="color: white; font-weight: bold">
|
||||
PhotonClient is in development mode so the documentation page will not load.
|
||||
Please recompile in production mode with the documentation copied over after a full build.
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
v-else
|
||||
|
||||
Reference in New Issue
Block a user