DATATABLE css and does not detect datatable in js

Good morning, I am attaching the complete link of the project.

I comment that I present problems for the DATATABLE,
bootstrap-maxlength.html and recently with vis-timeline
I had to manually add in plugin.scss the following @import "~ vis-timeline / dist / vis-timeline-graph2d.min.css";

and in js add require ('vis-timeline / dist / vis-timeline-graph2d.min.js');

and Select2

I do not know if it is correct, do it like this?

The main detail is that it doesn't load the styles correctly and in the js files,
I have to manually call them in each .js
adding require('datatables.net');

Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (5)

Hi Jesus,

Sorry for the delay. May I know which Metronic Laravel version are you using?

Thanks

I use the version Metronic v8.0.35, I don't use the latest version v8.0.36,due to incompatibility, with phpmailer

Hi,

You have to update the webpack.mix.js with the latest version of Metronic Laravel.
In the recent version, we have updated the way how the plugin's imported, including datatable. You can try to update only these assets folders only.

  • resources/assets/core/plugins/*
  • resources/assets/core/plugins/plugins.js
  • Thanks

    Text formatting options
    Submit
    Here's a how to add some HTML formatting to your comment:
    • <pre></pre> for JS codes block
    • <pre lang="html"></pre> for HTML code block
    • <pre lang="scss"></pre> for SCSS code block
    • <pre lang="php"></pre> for PHP code block
    • <code></code> for single line of code
    • <strong></strong> to make things bold
    • <em></em> to emphasize
    • <ul><li></li></ul>  to make list
    • <ol><li></li></ol>  to make ordered list
    • <h3></h3> to make headings
    • <a></a> for links
    • <img> to paste in an image
    • <blockquote></blockquote> to quote somebody
    • happy  :)
    • shocked  :|
    • sad  :(
    Text formatting options
    Submit
    Here's a how to add some HTML formatting to your comment:
    • <pre></pre> for JS codes block
    • <pre lang="html"></pre> for HTML code block
    • <pre lang="scss"></pre> for SCSS code block
    • <pre lang="php"></pre> for PHP code block
    • <code></code> for single line of code
    • <strong></strong> to make things bold
    • <em></em> to emphasize
    • <ul><li></li></ul>  to make list
    • <ol><li></li></ol>  to make ordered list
    • <h3></h3> to make headings
    • <a></a> for links
    • <img> to paste in an image
    • <blockquote></blockquote> to quote somebody
    • happy  :)
    • shocked  :|
    • sad  :(