diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 8e167a6..1254e9c 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -37,7 +37,7 @@ module.exports = { }, ], 'no-var': 'error', - 'no-console': process.env === 'development' ? 'warn' : 'error', + 'no-console': 'error', 'no-debugger': process.env === 'development' ? 'warn' : 'error', }, ignorePatterns: ['dist'], diff --git a/src/App.vue b/src/App.vue index 4d2deb6..156f050 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,6 +5,6 @@ diff --git a/src/styles/normalize.css b/src/assets/styles/normalize.css similarity index 100% rename from src/styles/normalize.css rename to src/assets/styles/normalize.css diff --git a/src/styles/theme.scss b/src/assets/styles/theme.scss similarity index 100% rename from src/styles/theme.scss rename to src/assets/styles/theme.scss diff --git a/src/components/AppProvider.vue b/src/components/AppProvider.vue index 9d1312e..e01aa74 100644 --- a/src/components/AppProvider.vue +++ b/src/components/AppProvider.vue @@ -14,7 +14,7 @@ \ No newline at end of file + diff --git a/vite.config.ts b/vite.config.ts index 7da01fd..b6eb54d 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,4 +1,3 @@ -import { resolve } from 'path'; import { defineConfig } from 'vite'; import vue from '@vitejs/plugin-vue'; import AutoImport from 'unplugin-auto-import/vite'; @@ -28,9 +27,4 @@ export default defineConfig({ resolvers: [NaiveUiResolver()], }), ], - resolve: { - alias: { - '@': resolve(__dirname, 'src'), - }, - }, });