-
Notifications
You must be signed in to change notification settings - Fork 728
Not working with webpack #349
Comments
@MikaAK Have you tried installed 'fullcalendar' package via npm? I'm using webpack too and trying to make the UI Calendar work... but I got 'moment is not defined' error (I've install moment and angularMoment before). Any idea for this? |
@simon-nguyen yes if you go via that route you must include moment and fullcalendar into |
@MikaAK Thanks for the suggestion. I did
Now I've got a new error
Could you help me with it? Much appreciation! |
@simon-nguyen You must include jquery with script-loader as well. All things to do with this and moment will need to be put through script-loader due to this. It's not super friendly! |
+1 please add full calendar as an npm dependency |
@MikaAK Thank you so much for your reply... Sadly, I have to move to Angular Bootstrap Calendar, it's more friendly and easy to use for my case. |
npm please, I'm refactoring a big app with webpack and es6, this is not cool to do it, please please, npm npm :) |
@blackendstudios I've forked the repo and added the nessisary requires if you wanna use that till they support this. https://github.com/MikaAK/ui-calendar. In your package.json put |
@MikaAK mmmmm I saw that momment, fullcalendar and jquery are in npm, if I install them, then I would need to make it work just with the ui-calendar? ... why too much trouble to make it compatible with npm, is too much to get it work? |
seriously, too much trouble to make this on npm??? wow |
Have someone got this to work with npm and webpack? I am trying to use this in a angular component from angular 1.5 |
@cybercomkvint I forked it and we use the fork successfully at work see Here |
Hi, I have this working happily with webpack, here's my setup. package.json
webpack.config.js
directive.js
|
@phdesign this should be on the official documentation! |
Acctually this directive should be updated, so it works correctly with webpack. |
Using ES6 working as a charm as well
|
When used with webpack via npm it complains about not finding fullCalendar. This is due to fullCalendar not being a dependency within the package.json. Can this be fixed please for all the people who use npm over bower?
The text was updated successfully, but these errors were encountered: