chore: Remove commented code for vue-router package name handling
All checks were successful
CI / cache-and-install (push) Successful in 1m7s

This commit is contained in:
严浩
2024-08-14 09:43:56 +08:00
parent a544e501c2
commit ed90618007
5 changed files with 66 additions and 18 deletions

View File

@ -1,5 +1,8 @@
<script setup lang="ts"></script>
<script setup lang="ts">
const VITE_BUILD_COMMIT = import.meta.env.VITE_BUILD_COMMIT;
</script>
<template>
<div fixed rounded-br-4 top-0 left-0 z-9999 px-4 py-2 bg-black text-white>commit: {{ VITE_BUILD_COMMIT }}</div>
<RouterView />
</template>

View File

@ -20,16 +20,3 @@ a,
background-color: hsla(160, 100%, 37%, 0.2);
}
}
@media (min-width: 1024px) {
body {
display: flex;
place-items: center;
}
#app {
display: grid;
grid-template-columns: 1fr 1fr;
padding: 0 2rem;
}
}

View File

@ -7,7 +7,5 @@ definePage({
</script>
<template>
<div>
<h1>Index Page</h1>
</div>
<h1>Index Page</h1>
</template>