akveo / akveo/ng2-smart-table

404 "/node_modules/ng2-smart-table"

Đang mở
#133 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
1.6k
Fork
867
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi,

I was trying out your table using the quick-start guide, but I can't seem to get it to work. Instead, I get a 404 in console (`GET http://localhost:3000/node_modules/ng2-smart-table/ 404 (Not Found) zone.js:1805`) when it attempts to find the table in said location. I'm using **Angular 2.4.0**.

I've done the following:

`npm install --save ng2-smart-table`

**systemjs.config.js**:
```JavaScript
(function(global) {
System.config({
paths: {
...
},
map: {
...

'smarttable': 'node_modules/ng2-smart-table'
},
packages: {
...

smarttable: {
defaultExtension: 'js'
}
}
});
})(this);
```

**app.module.ts:**
```JavaScript
...
import { Ng2SmartTableModule } from '../node_modules/ng2-smart-table';

@NgModule({
imports [ ..., Ng2SmartTableModule ],
declarations: [ ... ],
bootstrap: [ AppComponent ]
})
export class AppModule {}
```

**app.component.ts:**
```JavaScript
@Component({ ... })
export class AppComponent {
...

settings = {
...
}
}
```

**app.component.html:**
```HTML

```

Any assistance would be greatly appreciated. :)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.