Including JS files in Derby.js

1$webhost

New Member
I am trying to learn Derby.js and I am having a lot of trouble. I know I can include packages such as jQuery through npm and add it to the node_modules folder, but this isn't quite what I want to do. I want to be able to include these files like I do in normal HTML.So I want to do something like \[code\]<Head:> <script src="http://stackoverflow.com/questions/15776922/js/jquery.js"></script>\[/code\]. This does not work though because it cannot find the js directory. I expect this has something to do with the way node.js runs an app and that the app itself will not hold the js directory. Any help would be appreciated!
 
Back
Top