From 232463b5a8c1792dd1300ba4ae41c72852c613d2 Mon Sep 17 00:00:00 2001 From: hailin Date: Tue, 29 Jul 2025 16:11:16 +0800 Subject: [PATCH] . --- php_pc/nuxt.config.ts | 6 +++++- php_pc/tsconfig.json | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/php_pc/nuxt.config.ts b/php_pc/nuxt.config.ts index 446e823..61c6166 100644 --- a/php_pc/nuxt.config.ts +++ b/php_pc/nuxt.config.ts @@ -77,5 +77,9 @@ export default defineNuxtConfig({ }, devServer: { host: '0.0.0.0' - }, + }, + ignore: [ + 'pages/**/_*/**', + 'pages/**/_*.*' + ], }); diff --git a/php_pc/tsconfig.json b/php_pc/tsconfig.json index 6e697ad..2e5ba5d 100644 --- a/php_pc/tsconfig.json +++ b/php_pc/tsconfig.json @@ -2,6 +2,10 @@ // https://v3.nuxtjs.org/concepts/typescript "extends": "./.nuxt/tsconfig.json", "compilerOptions": { - "strict": false + "strict": false, + "baseUrl": ".", + "paths": { + "@/*": ["./src/*"] + } } }