From 30dcee707a0cfb32810863c618259782e0f552e5 Mon Sep 17 00:00:00 2001 From: Miguel Urbina Date: Fri, 14 Jun 2024 08:41:02 -0600 Subject: [PATCH] Define base path for assets --- src/App.tsx | 2 +- vite.config.js | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 vite.config.js diff --git a/src/App.tsx b/src/App.tsx index 3ac5dfc..b8dce58 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -5,7 +5,7 @@ import theme from './theme' export default function App() { return( - + diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..92c8226 --- /dev/null +++ b/vite.config.js @@ -0,0 +1,7 @@ +import { defineConfig } from 'vite' +import react from '@vitejs/plugin-react' + +export default defineConfig({ + base: '/website2.0/', + plugins: [react()], +});