[Vuejs]-Display current json object js

0👍

data needs to be a function and not an object. Change data to a function:

data() {
    /// return {
            page: 'home',
            url: "https://api.jsonbin.io/b/5c6d3bf80177dd1751730298",
            books: [],
            currentBook: {},
        }
    }

Leave a comment