Trying to include the necessary files for datatables.js in a Docker/Node Project Pages/ views page?
No matter what I do they are not called. Have tried including them in the layouts page, nope, in the Pages /views pages, nope… JS files and CSS in public directory… Even tried CDN… Results the same.
Please can someone explain where to include these files and in which way to do it?
Totally the opposite @JonL! Am entirely new to both Node and Docker, and to chuck a third in the mix this is all on AWS. If I'm going to climb any mountain its going to be Everest, and I'll need good Sherpa's all the way!
There isn’t any difference being it node and docker.
Unless you are installing it via npm which you could but would need a bundler or something like browserify to make it available to the browser at build time.
In your case you are using public folder or cdn and a standard script tag in an ejs file.
Stupid newbie mistake I included public/ in the path!
Dave slaps self with frozen trout
Really appreciate the help and advice mate. Porting over a HUGE project with a ton of legacy Projects bolted on top of it, then migrating everything over to AWS from our servers and shutting those all down. Exciting, stressful, and eye opening.