samu / angular-table

Angular directive which allows to declare sortable tables and to add pagination with very little effort
http://samu.github.io/angular-table/examples/examples.html
MIT License
354 stars 161 forks source link

Webpack bundling #105

Open xizi-xu opened 7 years ago

xizi-xu commented 7 years ago

Hello,

I have tried to use webpack to bundle my angular app. I used require("angular-table") to include this package in the project after using npm to install this package (v1.0.4). However, I kept getting error of module not found. Any advice on this?

Thank you

McGiogen commented 6 years ago

Probably they should fix package.json to enable that standard import. Anyway you can use require('angular-table/dist/angular-table.min.js').