diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 27408c45..d7da760c 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -1,5 +1,4 @@ // src/App.js -import React from 'react'; import './App.css'; import Navbar from './Components/Shared/Navbar'; import Footer from "./Components/Shared/Footer" diff --git a/frontend/vite.config.js b/frontend/vite.config.js index 721bd06e..e519c8e2 100644 --- a/frontend/vite.config.js +++ b/frontend/vite.config.js @@ -3,6 +3,12 @@ import react from '@vitejs/plugin-react' // https://vitejs.dev/config/ export default defineConfig({ + resolve: { + alias: { + '@': '/src', + }, + }, + server: { host: '0.0.0.0', // allows access from all IP addresses port: 5173,