mirror of
https://github.com/Pandipipas/scoreko-dev.git
synced 2026-06-06 03:32:06 +00:00
Initial commit
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
@@ -0,0 +1,8 @@
|
||||
import { createHead } from '@unhead/vue/client';
|
||||
import { createApp } from 'vue';
|
||||
import App from './main.vue';
|
||||
|
||||
const app = createApp(App);
|
||||
const head = createHead();
|
||||
app.use(head);
|
||||
app.mount('#app');
|
||||
@@ -0,0 +1,24 @@
|
||||
<script setup lang="ts">
|
||||
import { useHead } from '@unhead/vue';
|
||||
import { ref } from 'vue';
|
||||
import { exampleReplicant } from '../../browser_shared/replicants';
|
||||
import type { ExampleType } from '../../types';
|
||||
|
||||
useHead({ title: 'example' }); // set the title of this page
|
||||
const text = ref('Example');
|
||||
|
||||
// Example code: accessing normal types.
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const exampleType: ExampleType = { exampleProperty: 'exampleString' };
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
{{ text }}
|
||||
<br><br>
|
||||
<img src="./image.png">
|
||||
<br><br>
|
||||
<!-- Example code: accessing a replicant. -->
|
||||
{{ exampleReplicant?.data?.exampleProperty }}
|
||||
</div>
|
||||
</template>
|
||||
@@ -0,0 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user