Webpack support
simonnilsson opened this issue · 2 comments
simonnilsson commented
In order for this plugin to work with webpack and npm it needs to know about the css. The easiest way I found is to require it in the index.js like this:
require('./dist/css/angular-aside.css');
require('./dist/js/angular-aside');
module.exports = 'ngAside';
bwobbones commented
Hey @simonnilsson, can you tell me what wasn't working about it? Was it not displaying, or was the provider not being found like this?
Unknown provider: $uibModalProvider <- $uibModal <- $aside
simonnilsson commented
Hi @bwobbones, it was the styling that didn't work. Your problem seems to be something else.