You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is pretty much unclear to me how I would use this. I tried creating a simple example. I downloaded the contents of the dist folder to my test workspace. AFAIK this is everything that you need from a javascript package to use it.
I tried to run it with a simple python web server like this:
python -m http.server
Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...
Problem 1:
It complained about a file /resources/img/settings.png missing. So I grabbed it from the repo and put it where it was expected. Why is this file missing? Shouldn't it be in the dist/ folder if it is needed?
Problem 2:
When I open the site now it gives me this error:
Uncaught TypeError: window.addEvent is not a function
at (index):13
When I try this in the console:
>console.log(window.addEvent);undefined
I'm out of ideas here. A simple getting started guide or instruction and how to get this running would be nice.
The text was updated successfully, but these errors were encountered:
It is pretty much unclear to me how I would use this. I tried creating a simple example. I downloaded the contents of the
dist
folder to my test workspace. AFAIK this is everything that you need from a javascript package to use it.I created this
index.html
:Then I created this
weathermap.json
:Other files in this folder are:
I tried to run it with a simple python web server like this:
Problem 1:
It complained about a file
/resources/img/settings.png
missing. So I grabbed it from the repo and put it where it was expected. Why is this file missing? Shouldn't it be in thedist/
folder if it is needed?Problem 2:
When I open the site now it gives me this error:
When I try this in the console:
I'm out of ideas here. A simple getting started guide or instruction and how to get this running would be nice.
The text was updated successfully, but these errors were encountered: