Add vue app to photo.html

This commit is contained in:
Joscha 2025-03-26 20:58:03 +01:00
parent ad028bc522
commit 1a6431b922
6 changed files with 21 additions and 2 deletions

View file

@ -7,6 +7,6 @@
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
<script type="module" src="/src/index.ts"></script>
</body>
</html>

View file

@ -185,5 +185,8 @@
</svg>
</a>
<div id="cover" class="hidden"></div>
<div id="app"></div>
<script type="module" src="/src/photo.ts"></script>
</body>
</html>

View file

@ -0,0 +1,5 @@
<script setup lang="ts"></script>
<template>
<noscript>Booh!</noscript>
</template>

View file

@ -1,5 +1,5 @@
import { createApp } from "vue";
import App from "./App.vue";
import App from "./AppIndex.vue";
// The type of App contains any in its type parameters, according to vscode.
// Presumably, this is what triggers the lint.

View file

@ -0,0 +1,11 @@
import { createApp } from "vue";
import App from "./AppPhoto.vue";
// The type of App contains any in its type parameters, according to vscode.
// Presumably, this is what triggers the lint.
//
// @vue/eslint-config-typescript turns this option off entirely.
// https://github.com/vuejs/eslint-config-typescript/blob/bcdeb741521a718d44dfe77aadcf6d0702b1fd21/src/internals.ts#L139
//
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
createApp(App).mount("#app");