Files
vue-ts-example/src/App.vue
严浩 cc3e4efb99
All checks were successful
CI / cache-and-install (push) Successful in 1m7s
chore: Move commit information to bottom of the page in App.vue
2024-08-14 17:17:24 +08:00

9 lines
254 B
Vue

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