diff --git a/tsconfig.json b/tsconfig.json index ed72f3b..0bd8c26 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -32,7 +32,7 @@ "paths": {"@/*": ["./src/*"]}, /* Specify a set of entries that re-map imports to additional lookup locations. */ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */ - // "types": [], /* Specify type package names to be included without being referenced in a source file. */ + "types": ["vite/client"], /* Specify type package names to be included without being referenced in a source file. */ // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */ // "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */ diff --git a/vite.config.ts b/vite.config.ts index 208a759..f6dfffc 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,11 +1,10 @@ import { fileURLToPath } from 'node:url'; - import { defineConfig } from 'vite'; import vue from '@vitejs/plugin-vue'; // https://vitejs.dev/config/ export default defineConfig({ - base: './', + base: '/nmscolorparser-v2/', plugins: [vue()], resolve: { alias: {