Closed RobertoSnap closed 5 years ago
I think the problem is that the polyfill is expecting the page to be loaded from a gateway, since you're probably loading off of localhost, it's throwing an error. Try specifying a DEFAULT_DAT_GATEWAY
global variable pointing to the gateway you want to use. Mak sure it's defined before you load the polyfill.
I think the problem is that the polyfill is expecting the page to be loaded from a gateway, since you're probably loading off of localhost, it's throwing an error. Try specifying a
DEFAULT_DAT_GATEWAY
global variable pointing to the gateway you want to use. Mak sure it's defined before you load the polyfill.
Tried this, but had no effect. You can close the issue, im will try it another time with something simple.
Dang! Sorry to hear that it didn't work out. 🙁
Is this problem solved?
@FuPingstar I suggest checking out the Dat SDK instead. Specifically the latest version being worked on in this branch
Goal
Setup node-dat-archive and use it from a browser with dat-archive-web
Steps
npm install -g @vue/cli
npm install --save dat-archive-web
vue create dat-test