Aug 29, 2017 · 1 min read
Couple of omissions -
In PostView.vue, the data section needs to be present:
export default {
data () {
return {
catUrl: '',
title: ''
}
},
...When you create the database, you need to set the database rules to ‘public’, (since you’re not providing for authentication):
{
"rules": {
".read": true,
".write": true
}
}With the latter, you get nasty authentication errors if you don’t do.