Added the @ alias to the project vote.config.js & jsconfig.json
This commit is contained in:
@ -1,6 +1,12 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import * as path from 'path';
|
||||
import react from '@vitejs/plugin-react';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, './src')
|
||||
}
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user