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?
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1226">#c1226</a>)</em></sub></div>