You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and
computed: mapState({
user: 'user',
categories: 'categories'
})
during the video, omitted adding categories in store.js
state: {
user: { id: 'abc123', name: 'adam Jahr' },
categories: [
'sustainability',
'nature',
'animal welfare',
'housing',
'education',
'food',
'community'
]
},
without categories in store.js the following error appears.
There was an error:
[actually more messages appear if you expand the feedback in developers console, but the error is not easy to recognize or diagnose, a broader problem I haven't worked on in this stack]
other unrelated issues/questions while I'm here. :)
Refreshing the app is not as simple as refreshing the page.
Not sure if hot reloading is the solution > https://vue-loader.vuejs.org/guide/hot-reload.html
Would really like to see a video explaining how to debug apps properly.
The text was updated successfully, but these errors were encountered:
minor error which students should be able to diagnose by this stage of the course, caused me some delay and annoying, hence the request to fix.
@ 05:00 in the vuex-state-getters lesson.
https://www.vuemastery.com/courses/mastering-vuex/vuex-state-getters
adding this code to EventCreate.vue
and
computed: mapState({
user: 'user',
categories: 'categories'
})
during the video, omitted adding categories in store.js
state: {
user: { id: 'abc123', name: 'adam Jahr' },
categories: [
'sustainability',
'nature',
'animal welfare',
'housing',
'education',
'food',
'community'
]
},
without categories in store.js the following error appears.
There was an error:
[actually more messages appear if you expand the feedback in developers console, but the error is not easy to recognize or diagnose, a broader problem I haven't worked on in this stack]
other unrelated issues/questions while I'm here. :)
Refreshing the app is not as simple as refreshing the page.
Not sure if hot reloading is the solution > https://vue-loader.vuejs.org/guide/hot-reload.html
Would really like to see a video explaining how to debug apps properly.
The text was updated successfully, but these errors were encountered: