Tagged with turbolinks

Mon May 07, 2018 1:48 PM
activity
Turbolinks and Font Awesome 5 SVG with Javascript
Mon May 07, 2018 1:18 PM
guide
Font Awesome 5 SVG icons use javascript to find <i> tags with an icon class and replaces them with an <svg> tag. TurbolinksĀ online displays these icons on initial page load and/or refresh, however when following a link, TurbolinksĀ reloads the page and not the icons. This guide assumes that you have already loaded font awesome into your project using your preferred method. For what its worth, this guide uses the font awesome CDN more