-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gå over fra Create-react-app til Vite #8
Conversation
import {DateTimePicker, LocalizationProvider} from '@mui/x-date-pickers'; | ||
import {AdapterDayjs} from '@mui/x-date-pickers/AdapterDayjs'; | ||
import React, { useState } from 'react'; | ||
import { TextField, Button, Box, Alert, Table, TableBody, TableCell, TableContainer, TableHead, TableRow, Paper } from '@mui/material'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jeg begynte på å bytte ut disse med Akselkomponenter, men snudde da jeg ikke helt fant ut av datepickeren. Sparer det derfor til en senere anledning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ser greit ut 👍
Husk å legge til jesper som coauthor før merge
@@ -13,20 +13,24 @@ jobs: | |||
name: Build, push and deploy | |||
runs-on: ubuntu-latest | |||
env: | |||
REACT_APP_BASE_URL: ${{ secrets.REACT_APP_BASE_URL }} | |||
VITE_REACT_APP_BASE_URL: ${{ secrets.REACT_APP_BASE_URL }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hva er grunnen til at base url er i en github secret?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tipper @mettok er rett mann å spørre om dette. Jeg tenker at vi evt. kan gjøre litt om på det når han kommer tilbake fra ferie.
Vi ønsker å bruke Vite istedenfor create-react-app.
Bonus: Bytt ut en del av Material-UI-komponentene med komponenter fra Aksel.