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
To add assets to the application (e.g. images) we can create a Asset.elm module which will take the responsibility to expose the correct images' src in the application.
Having this single source of truth make it easier to change the names of the assets without having to change it on all the application.
To add assets to the application (e.g. images) we can create a
Asset.elm
module which will take the responsibility to expose the correct images' src in the application.Having this single source of truth make it easier to change the names of the assets without having to change it on all the application.
An example of this Assets module can be found here: https://github.com/rtfeldman/elm-spa-example/blob/master/src/Asset.elm
The text was updated successfully, but these errors were encountered: