Html – Error 'Cannot read properties of null (reading 'style')' when attempting to display a Vue view
I have a header with an @click in my body. When clicked, a Vue view should be displayed, but instead I get the error: Cannot read properties of null (reading 'style') From what I've read the error occurs because document.getElementById("view")…