Monday, 16 September 2019

Can I use a script linked inside Pug template ?

Using pug / express -I have a script that is properly linked inside my child template:block append headscript(src='../js/calendar.js' type="module")When I try to hit one of the functions it throws an error saying 'getBaz()' is not a function. The correct script shows in head, so maybe I'm trying to do something not possible?

Submitted September 16, 2019 at 07:34PM by fickentastic

No comments:

Post a Comment