私は角道の仕事を取得し、https://l-lin.github.io/angular-datatables/#/basic/angular-way'dtOptions'は 'table'の既知のプロパティではないため、 'dtOptions'にバインドできません。
- node version:v6.10.3
- npm version:v6.10.3
- angular version:4.3.2
- jquery version:3.2.1
- datatables version:1.10.15
- angular-datatables version:4.2.0
- angular-cli version:1.2.6
このコードを使用して働いている私は、モジュール「AppModule」でインポート予期しない値「DataTablesModule」を修正するために、この手順を行いました。 @NgModuleアノテーションを追加してください。
1-in tsconfig.json add
"baseUrl": ".",
"paths": {
"@angular/*": [
"node_modules/@angular/*"
]
2-in webpack.comon.js add
plugins: [
new TsConfigPathsPlugin({
configFileName: helpers.root('tsconfig.json'),
compiler: "typescript",
})
]
しかし
Can't bind to 'dtOptions' since it isn't a known property of 'table'.
このエラーを取得誰も私がこのisuueを修正するために助けてくださいことはできますか?
上記の問題の解決策を見つけましたか? –