-
Notifications
You must be signed in to change notification settings - Fork 39
webpack example #33
Comments
+1 |
Thanks, I'm going to check it |
Thanks for looking into this. Any more info I can provide? |
@creimers I think that formlyMaterial is not commonjs compatible at the moment but I have to investigate it. If you're using it like this: angular.module('app', [
require('angular-formly-material')
]); I believe that angular.module('app', [
require('angular-formly-material').default
]); |
@kamilkisiela You are very right. Thank you! Dobranoc. |
That's nice! 💤 Gute Nacht I'm going to keep it open to be aware of that commonjs issue |
This works for me: import angular from 'angular';
import formly from 'angular-formly';
import formlyMaterial from 'angular-formly-material';
angular.module('app', [
formly,
formlyMaterial
]); |
It had worked after I installed angular-message: import angularMessages from 'angular-messages'; |
Hi,
thanks for this package, we've been using it a lot.
I am currently refactoring a project switching dependency management to webpack.
I see there's a whole lot of webpacking going on in the dist.
However, I cannot get this to work with require('angular-formly-material') using the latest release (0.14.1).
Can you help me out here and provide webpack usage instructions? Thank you.
The text was updated successfully, but these errors were encountered: