diff --git a/README.md b/README.md index 35abbdf..0a335aa 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # T26-Project-2 +http://it2810-26.idi.ntnu.no/project2/ + Repository for team IT2810-H26-T26 in IT2810-H26. ## Setup/install diff --git a/project2/src/App.tsx b/project2/src/App.tsx index daf9d5d..b264960 100644 --- a/project2/src/App.tsx +++ b/project2/src/App.tsx @@ -173,7 +173,7 @@ function App() { {mockeMons.map((pokemon) => (
  • - {pokemon.name} + {pokemon.name}

    {pokemon.name}

    #{String(pokemon.id).padStart(4, '0')} diff --git a/project2/vite.config.ts b/project2/vite.config.ts index ddee8c4..9bfa1bd 100644 --- a/project2/vite.config.ts +++ b/project2/vite.config.ts @@ -4,4 +4,5 @@ import { defineConfig } from 'vite'; // https://vite.dev/config/ export default defineConfig({ plugins: [react()], + base: '/project2/', });