I try to offer a file download from a framework app but no luck. Looks like a simple href filepath doesn’t work. DOM.download is not available…
I am stucked.
Yes a static file will be enough so far. So I tried again <a href="./file" download> but no success. My file is written by writeFileSync as ./src/data/history.json, what would be the corresponding URL to download ? I get Observable Page not found for every combinations I tried.
The second solution is well noted and I am going to try it.
I am totally amazed by your reactivity. Thank you … so so much !!