How can i open the camera whitout frameworks?

I started a project with ionic CDN without any frameworks. So i want to know , how can i open the camera to scan a qrQode ?

Thank you all for the answers !

Thank you for the answers !