I am currently utilizing the following technologies:
- Vue.js, vue-route, Vuetify, Firebase (with a database) and vue-pdf
The issue I am facing involves attempting to load all pdf pages using "vue-pdf" plugin. However, when trying to read the pdf, I encounter the following error:
Uncaught TypeError: Cannot read property 'novel' of undefined
In my code, I have an object called novel, which is initially set to null. After fetching data from Firebase, this novel object gets populated. I referred to a tutorial here for loading multiple pdf pages, but while the tutorial uses a direct URL, I need to access a specific value in my object - "this.novel.nove_url". I'm uncertain about what mistake I might have made in implementing this. Below is the relevant portion of my code. Any assistance would be greatly appreciated.
<!-- Code goes here -->