3 ms·
Ask HN: How do you include CSS/JS libraries?
I am the developer of Picnic CSS and I found several deficiencies in the current model I'm using [1]. I know now what works best for me, but I am also interested in what works best for you to make it easier. So, how do you prefer including external front-end libraries?
1. Use a CDN to include the external minimized file.
2. Use bower or other front-end package manager to integrate the developer files (SASS). If it's other, which one?
3. Download the static, minimized file and include it manually (either in your build system or just as another stylesheet).
4. Clone the repository to make sure that you're always up to date (I think this was common before front-end package managers appeared).
5. Other. Which one? How? And why?
For me the 1. works best for small and fast projects and 2. works best when heavy personalization is needed. So, which one(s) do you use normally?
[1](https://github.com/picnicss/picnic/issues/39)
- theaccordance 11y agoPersonally, I prefer having third party libraries available through a package manager like bower or npm. It doesn't take much to get these set up if you're already hosting your code in on Github
- franciscop 11y agoPerfect, that's the same for me and I think for most programmers, so I guess you'll like the new redesign: http://imgur.com/oWFgrMB http://imgur.com/oWFgrMB