Closed arrmo closed 8 years ago
Very good comments, agreed! Yes, let's move bootstrap to npm install - I like that! As for bootswatch, I removed it, but also ... let's think about how to add themes through npm?
I can change paths, no problem at all. Do you want to pull this in, release v1.0.0, and then make these updates? Or do it first? I'm good with either way, your call.
Let's make the changes on this branch and then push out a clean v1.
You bet, will do!
BTW, should we do a similar thing for jQuery and jQuery UI?
Pulling my hair out, trying to understand the link logic (to put to npm modules in client index.html). Dang it!
I think for JQuery, since it is browser side only and we aren't including the files (just linking to them externally) we don't need to include it on the server side. https://www.npmjs.com/package/jquery seems to indicate it's fine to use the script tag.
To include bootstrap, this sounds like a feasible solution: http://stackoverflow.com/questions/27464168/how-to-include-scripts-located-inside-the-node-modules-folder
OK, have it working (with bootstrap). Just let me know on jQuery / jQuery UI - my thinking is to do them the same, and then they are local also (better overall for access, right?). Once we conclude, I can push the update (but it's working now). Also ... expose Winston?
OK, cleaned up, Bootstrap left to npm - and also generally cleaned up code. Look OK?
Thanks!
Hey, really great improvement! I took a quick look and it's for sure headed in the right direction. I have a few nit-picky things, but I think we're at a point to push this whole thing to release 1.0.0. The one thing I think we should change is that it's best practice not to include other distributions as part of our package. We should install bootstrap with
npm install bootstrap --save
which will add it to thepackage.json
and then automatically be installed bynpm install
. And looks like the same for bootswatch? I think you'll need to change your paths as NPM will install undernode_modules\bootstrap
, (and node_modules\bootswatch). You see any issue with this (besides a few extra themes installed)?