Suppose, I have 2 scripts but the ejs only accept the first script file and ignore the second javascript file unless the other file is any kind of CDN src. But if I write the inline javascript code inside the ejs file with then it's works. and also if I connect a partial with a javascript file then both file works. But it somehow does not work with multiple js files in a single page ejs file.
what is the problem? I don't understand. 😥
Hi, I'm facing an issue. In my case,
Suppose, I have 2 scripts but the ejs only accept the first script file and ignore the second javascript file unless the other file is any kind of CDN src. But if I write the inline javascript code inside the ejs file with then it's works. and also if I connect a partial with a javascript file then both file works. But it somehow does not work with multiple js files in a single page ejs file. what is the problem? I don't understand. 😥