Serve data files from other directory:
$ env DECK_DATA=$HOME/Documents/work/KB/repos/tangledtrees npm run dev
$ npm run build
server {
location /graphdeck {
root /srv/static/;
try_files $uri $uri/ $uri.html /graphdeck/index.html;
}
}