fix tsconfig

This commit is contained in:
hptangxi
2025-07-02 16:18:30 +08:00
parent 762dfe48e8
commit d859b64b30
3 changed files with 6 additions and 7 deletions

View File

@@ -8,7 +8,8 @@
</template>
<script setup lang="ts">
import { ref, h, computed } from 'vue'
import type { MenuOption } from 'naive-ui'
import { h, computed } from 'vue'
import { RouterLink, useRoute } from 'vue-router'
const menuOptions: MenuOption[] = [

View File

@@ -2,6 +2,10 @@
"extends": "@vue/tsconfig/tsconfig.dom.json",
"compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
},
/* Linting */
"strict": true,

View File

@@ -1,10 +1,4 @@
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
},
},
"files": [],
"references": [
{ "path": "./tsconfig.app.json" },