We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d7c479 commit 6b3b680Copy full SHA for 6b3b680
vite.config.js
@@ -1,6 +1,13 @@
1
-import { defineConfig } from 'vite'
2
-import react from '@vitejs/plugin-react'
3
-
+import { defineConfig } from 'vite';
+import react from '@vitejs/plugin-react';
+import path from 'path';
4
+// https://vitejs.dev/config/
5
export default defineConfig({
6
+ base: '/',
7
plugins: [react()],
-})
8
+ resolve: {
9
+ alias: {
10
+ '@': path.resolve(__dirname, './src'),
11
+ },
12
13
+});
0 commit comments