A Progressive Web Application with Vue JS, Webpack & Material Design [Part 2]
Kévin Jean
1.3K32

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.