Vuex works at my computer, but not online

I tried something and it also works on my computer. But when i upload my application to production server i get this error “$store is not defined” and the page is empty. I use chrome.

What i did: I have a form in Blade. Every field is a component. And one component toggles some fields. And this compontent sets a variable to vuex store. And in my blade i use this in some divs:

This toggleing works on my computer, but not online… does anyone know a soltuion or what i do wrong?

PS: Maybe it is because my app.js is loaded at the end? But why does it work on my computer.

Ok. Sorry… it seems to be a problem with Platform Cartalyst (the cms i use). The themes are not published correctly… so there was an old vue file loaded everytime.