更新时间:2023-11-30 22:54:10
我将此代码添加到require('bootstrap');
require( '../../node_modules/datatables.net/js/jquery.dataTables.js' );
require( '../../node_modules/datatables.net-bs4/js/dataTables.bootstrap4.js' );
,然后将样式添加到我的app.scss
and then added styles to my app.scss
@import '~datatables.net-bs4/css/dataTables.bootstrap4.css';
现在一切正常. 希望对别人有帮助.
Everything works perfectly now. Hope it help others.