tralves / groceries-ns-vue

🍏 🍍 🍓 A NativeScript+Vue iOS and Android app for managing grocery lists
303 stars 65 forks source link

Fixed build errors stemming from camelCase in templates #2

Closed yankeeinlondon closed 6 years ago

yankeeinlondon commented 6 years ago

Fixed build errors stemming from camelCase in templates where VueJS expects dasherized variables

yankeeinlondon commented 6 years ago

@tralves please note that I AM getting a runtime error currently:

file:///app/components/Groceries/Groceries.vue:1: JS ERROR SyntaxError: Unexpected token '<'

I'm still very new to NS and VueJS so trying to put my head around this error. The changes made to this file were all quite controlled and actually since it's complaining about the first line (aka, the "template" tag) then it seems like it's something else.

tralves commented 6 years ago

Thanks for the PR!

yankeeinlondon commented 6 years ago

Sure. BTW, Are you getting the same error I mentioned above in the Groceries.vue file? Feels like a phantom error, maybe something with deps or build process. Anyway, very interested to know whether yours is working.

yankeeinlondon commented 6 years ago

Paranoid that my attempt to "help" has resulted in an error. Your repo is such a good source of learning for those vue inclined.

tralves commented 6 years ago

Thanks :)

I will have to look into it. There are several things in the build process that are still bugging me. I want to give another shot with webpack because these errors (and the errors in the other issue you created) are weird and won't go away.

I had to ignore the warnings if I wanted to ever finish this app but yeah... it sucks. :(