Be careful in doing that. A friend of mine decided they'd had enough of desktop PCs* and bought a laptop. A week later they realised that a 15" laptop screen was much smaller than the 19" they had on the desktop and they had trouble reading the screen, then they found out that a laptop keyboard was smaller than a full-size keyboard. So they ended up buying a USB C to VGA adaptor so they could use their old monitor plus two USB C to USB A adaptors so they could use their old keyboard and mouse. They now wish they hadn't bought the laptop!
* The desktop PC in question had all sorts of problems, due I suspect to the person clicking on 'OK' to too many upgrade pop-ups when they should have clicked 'No'. The person is a big user of e-mail and Facebook but not all that computer literate and usually comes to me for help and advice, but for some reason they didn't this time.