feat: 项目结构调整|新增依赖
This commit is contained in:
18
src/renderer/App.vue
Normal file
18
src/renderer/App.vue
Normal file
@@ -0,0 +1,18 @@
|
||||
<template>
|
||||
<div id="app">
|
||||
<router-view />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useCounterStore } from "@store/counter";
|
||||
|
||||
// 使用 Pinia store
|
||||
const counterStore = useCounterStore();
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
#app {
|
||||
@apply min-h-screen bg-gray-100;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user