0

I'm trying to use enduro.js but i need to include an external js file to my index.hbs putting a script tag after body, just like a normal html file.

<script src="/assets/js/popper.js"></script>

This just says me in chrome console

Refused to execute script from 'http://localhost:3000/assets/js/popper.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

Can someone help me?

Thx in advance!

marco burrometo
  • 1,055
  • 3
  • 16
  • 33

1 Answers1

0

This might help.

  <script src="/assets/js/popper.js" type="text/javascript"></script>
owmasch
  • 69
  • 5