This feels so basic that no one bothers to explain it. I'm trying to use the fullcalendar
library in my app. In their documentation under «Basic Usage», I found this:
The first step in embedding a calendar on a web page is to have the right JavaScript and CSS files. Make sure you are including the FullCalendar stylesheet, as well as the FullCalendar, jQuery, and Moment JavaScript files, in the of your page:
<link rel='stylesheet' href='fullcalendar/fullcalendar.css' /> <script src='lib/jquery.min.js'></script> <script src='lib/moment.min.js'></script> <script src='fullcalendar/fullcalendar.js'></script>
And under «Download», it says this:
You can install FullCalendar via NPM:
$ npm install fullcalendar
What I don't understand is, where do I find the fullcalendar.css
, jquery.min.js
, moment.min.js
and fullcalendar.js
files to include?
NPM install doesn't download a directory into my downloads directories that I can drag into my project, it adds files to my node_modules
directory, and I doubt I'm supposed to go rummaging in there for the files (my node_modules
directory has thousands of directories in it). I tried using Webpack to bundle the js files, thinking it might automatically include them in the bundle, but that didn't work. What am I missing?