How to include bower (getmdl) js into ember?


#1

I install material-design-lite via bower …

So I include into my app …

var app = new EmberApp(defaults, {
    sassOptions: {
      includePaths: ['bower_components/material-design-lite/src']
    }
  });

  app.import('bower_components/material-design-lite/material.js');

And import into my style …

@import "_color-definitions";

$color-primary: $palette-blue-500;
$color-accent: $palette-orange-400;

@import "material-design-lite";

The style is loaded correctly, but components that rely on javascript do not work as is the case of tabs and menus

I try to change tab clicking and nothing happens


#2

there’s an addon for that