Open harilalinapp opened 7 years ago
Confirming, not working with webpack./es6 , can't inject the module.
I got a solution
import dndLists from
export default angular 'angular-drag-and-drop-lists/angular-drag-and-drop-lists';
.module('dashboard.controller', [dndLists])
.controller('DashboardController', ['commonService', DashboardController]);
This issue will be fixed with PR https://github.com/marceljuenemann/angular-drag-and-drop-lists/pull/350. Currently angular-drag-and-drop-lists.js is not exporting anything for imports in ES6.
@harilalinapp and... where is the solution?
Also looking for a fix!
also looking for a fix.
Quick solution:
import 'angular-drag-and-drop-lists/angular-drag-and-drop-lists';
angular.module('appName', ['dndLists']);
it's important to add quotes to dndLists word inside angular.module.
How to use this library with webpack/es6?
import 'angular-drag-and-drop-lists/angular-drag-and-drop-lists';
its not working with this import. Can't inject it to the module.