수집되지 않은 유형 오류: null의 속성 '$store'를 읽을 수 없습니다. 저는 프로그래밍을 처음 하는 사람이고 Vue를 며칠 동안 사용해 본 적이 있습니다. 여기에서는 아래 코드로 사용자의 지리 위치 데이터를 Vuex 상태로 저장하려고 합니다. mounted () { navigator.geolocation.getCurrentPosition(foundLocation, noLocation) function foundLocation (position) { var userLoc = { Lon: position.coords.longitude, Lat: position.coords.latitude } console.log(userLoc) this.$store.dispatch('userLocSave', {la..