[Vuejs]-External script with icons loads when the page loads but the icons don't appear

0👍

So, I think I have a fix.

Trying to frankenstein this in a vue file didn’t work. So I just put this in the index.html

<body>
  <div id="app"></div>
  <!-- built files will be auto injected -->
  <script src="static/js/uikit.min.js"></script>
  <script src="static/js/uikit-icons.min.js"></script>
</body>

It looks like an easy solution, but I really think I tried it before and it didn’t work. But between then and now I learned that the scripts might use jquery so I installed it with npm a couple hours ago. Maybe it fixed it, I really don’t know. But my icons are showing without refresh, so i’m happy.

Leave a comment