gleam-lang / language-tour

👩🏽‍💻 Learn Gleam in your browser
https://tour.gleam.run/
82 stars 62 forks source link

Relative paths for css #94

Closed ellipticview closed 5 months ago

ellipticview commented 5 months ago

I cloned and built this repo, and was expecting to view the tour by opening public/index.html from the filesystem. However this does not work because all references are absolute instead of relative. E.g. instead of

Is this by design, or can they be changed to relative references?

lpil commented 5 months ago

Even if we loaded the CSS the rest of the tour wouldn't work. We need to be served from a web server for the wasm compiler and code runner to work unfortunately.