Goal of this sample app is to better understand what is necessary to tweak in mondern javascript frameworks so that they will work with the ipfs gateway.
npm install
npm run serve
npm run build
npm run lint
pre checkout this project
$ ipfs-cluster-ctl add -r dist/
Current knowledge Tweaks:
- switch to relative path so that the merkle hash as path prefix is not a issue when files get loaded.
example
/js/some.js
tojs/some.js
this handles the ipfs resource pathhttp://127.0.0.1:8080/ipfs/QmRm8PZQT8EL9sTTghBhbUVjQJxxxxxxxxxMbaLyfSXBDy5/js/some.js