angular-aside icon indicating copy to clipboard operation
angular-aside copied to clipboard

Webpack support

Open simonnilsson opened this issue 7 years ago • 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';

simonnilsson avatar Oct 18 '16 08:10 simonnilsson

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

bwobbones avatar Jan 18 '17 00:01 bwobbones

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

simonnilsson avatar Jan 18 '17 07:01 simonnilsson