2023-08-21 01:51:35 -04:00
|
|
|
<script setup lang="ts">
|
|
|
|
|
const devMode = process.env.NODE_ENV === "development";
|
|
|
|
|
</script>
|
|
|
|
|
|
2020-07-07 22:10:28 +03:00
|
|
|
<template>
|
2020-07-13 19:34:31 -07:00
|
|
|
<div
|
2023-06-09 13:09:41 -04:00
|
|
|
style="overflow:hidden; height:100%; width:100%"
|
2020-07-13 19:34:31 -07:00
|
|
|
>
|
2023-06-09 13:09:41 -04:00
|
|
|
<div
|
2023-08-21 01:51:35 -04:00
|
|
|
v-if="devMode"
|
2023-06-09 13:09:41 -04:00
|
|
|
style="width: 100%; height: 100%; padding: 16px"
|
|
|
|
|
>
|
2023-08-21 01:51:35 -04:00
|
|
|
<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>
|
2023-06-09 13:09:41 -04:00
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
v-else
|
|
|
|
|
style="width: 100%; height: 100%"
|
|
|
|
|
>
|
|
|
|
|
<!--suppress HtmlUnknownTarget -->
|
|
|
|
|
<iframe
|
|
|
|
|
src="docs/index.html"
|
|
|
|
|
style="overflow:hidden; height:100%; width:100%; border: 0"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
2020-07-07 22:10:28 +03:00
|
|
|
</div>
|
|
|
|
|
</template>
|