daniel-nagy / md-data-table

Material Design Data Table for Angular Material
MIT License
1.9k stars 518 forks source link

Installing with Angular-Meteor hint #457

Open nigelpasco opened 8 years ago

nigelpasco commented 8 years ago

Hi,

I figured out how to use this with Angular-Meteor, with ES2016 syntax (import/exports etc.), noticed there is not any other posts sorting this out, so hopefully this will help someone out there.

I ran into issues with Angular-Meteor not accepting the module name 'md.data.table' - likely due to the inclusion of ponta. So I changed all the module name throughout the source to mdDataTable and imported it as 'import mdDataTable from 'angular-material-data-table' and included it into my app module as mdDataTable.

I also had issues importing the css file/s as they are not preprocessed. Simply copied the dist version to my app and linked to this instead.

Not perfect as I will have to manually update, but it is up and working :)

Awesome package daniel, thanks for doing the hard yards.

lokiribeiro commented 8 years ago

had issues with building and running angular-meteor app as it took so long to build the application from the node shell alone