Closed Cleop closed 6 years ago
On a previous project we had some issue getting the css from an external link (a new version of Tachyons was released and the request returned 404 for some time).
So I think it might be worth to create the Tachyons minimal file directly into the assets/css
directory. We only need to remember to update this file manually if we want another version of Tachyons, we could maybe use npm to automatically fetch the last version of Tachyons and copy it on the assets directory but I don't think at this stage it's necesssary.
At the same time we can remove the phoenix.css
file: https://github.com/dwyl/github-backup/blob/initialise-phx-server/assets/css/phoenix.css (which is Bootstrap)
But maybe the external link works fine for a first step :thinking: ?
to read:
Yeah, I recall this happening on BEP although it was a one off. As the stackoverflow article suggests - we could use the CDN and just specify a given version of Tachyons and that way it won't break.
Alternatively we could use the CDN and resort it to the saved files in the event that it's down as the SO article also says. Although I think that would be an enhancement.
@SimonLab @Cleop Worth adding your experiences above into an issue/FAQ section on the learn-tachyons
repo?
@Cleop, Are we adding a link to the "learn-tachyons" or can we consider this task done
?
@nelsonic feel free to test by adding a class or simply close as technical 👍
@Cleop I'm satisfied that this is done
. ✅
learn-tachyons
link to the readme