Home

Issue: 1382

generate html with static data

[issue link]

I want to generate a site with static data.

So i put data in static folder /static/data

When i run dev, i can get data through api http://localhost:3000/data/apple.json, but when i use the generate command, I have to serve data on http:/localhost:3000, the base url has to be changed as the “generate” cammand is finished。

Any idea for reducing serve data and change base url?

This question is available on Nuxt.js community (#c1226)