Skip to content

Commit

Permalink
Add MUI
Browse files Browse the repository at this point in the history
  • Loading branch information
choffmann committed Jan 2, 2024
1 parent aed0865 commit 0843abd
Show file tree
Hide file tree
Showing 3 changed files with 337 additions and 8 deletions.
11 changes: 8 additions & 3 deletions gameboy-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@
"rsw": "rsw"
},
"dependencies": {
"@fontsource/roboto": "^5.0.8",
"@mui/icons-material": "^5.15.2",
"@mui/material": "^5.15.2",
"@mui/styled-engine-sc": "^6.0.0-alpha.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react-dom": "^18.2.0",
"styled-components": "^6.1.6"
},
"devDependencies": {
"@types/node": "^20.10.6",
Expand All @@ -22,12 +27,12 @@
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-react": "^4.2.1",
"concurrently": "^8.2.2",
"eslint": "^8.55.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"typescript": "^5.2.2",
"vite": "^5.0.10",
"vite-plugin-rsw": "^2.0.11",
"concurrently": "^8.2.2"
"vite-plugin-rsw": "^2.0.11"
}
}
4 changes: 4 additions & 0 deletions gameboy-web/src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App.tsx'
import '@fontsource/roboto/300.css';
import '@fontsource/roboto/400.css';
import '@fontsource/roboto/500.css';
import '@fontsource/roboto/700.css';

ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
Expand Down
Loading

0 comments on commit 0843abd

Please sign in to comment.