dbtek/angular-aside

Webpack support

simonnilsson opened this issue · 2 comments

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';

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

Hi @bwobbones, it was the styling that didn't work. Your problem seems to be something else.