I'm working on a static site using Nuxt.js (I target to publish just the result of nuxt generate).
The content is generated based on asyncData by calling a json API.
I want to grab some files and include them as if they were in the /static directory, depending on the API response. How could that be achieved?
To better illustrate the problem: Let's say there is a list of invoices coming from the API, so in the resulting page I show the invoice info, but I also want to include a download link to it's corresponding file (which I can resolve after knowing the API response).
Maybe this task should be done outside of nuxt.js, after the site generation?