Add vue app to photo.html
This commit is contained in:
parent
ad028bc522
commit
1a6431b922
6 changed files with 21 additions and 2 deletions
|
|
@ -7,6 +7,6 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<script type="module" src="/src/main.ts"></script>
|
<script type="module" src="/src/index.ts"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -185,5 +185,8 @@
|
||||||
</svg>
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
<div id="cover" class="hidden"></div>
|
<div id="cover" class="hidden"></div>
|
||||||
|
|
||||||
|
<div id="app"></div>
|
||||||
|
<script type="module" src="/src/photo.ts"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
5
showbits-thermal-printer-ui/src/AppPhoto.vue
Normal file
5
showbits-thermal-printer-ui/src/AppPhoto.vue
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
<script setup lang="ts"></script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<noscript>Booh!</noscript>
|
||||||
|
</template>
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { createApp } from "vue";
|
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.
|
// The type of App contains any in its type parameters, according to vscode.
|
||||||
// Presumably, this is what triggers the lint.
|
// Presumably, this is what triggers the lint.
|
||||||
11
showbits-thermal-printer-ui/src/photo.ts
Normal file
11
showbits-thermal-printer-ui/src/photo.ts
Normal 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");
|
||||||
Loading…
Add table
Add a link
Reference in a new issue