As Estus said, using provide/inject is overengineering for what I needed and I could've just made dbCon accessible from the export of dbConnection.vue
also I'm probably going to forget to mark it as answered in 2 days when I can