Getting error for KtDataTable after set up the new version 8.1.1

I am using KTDataTable in 8.0.0 version and it seems to be working good.
When I download the latest version 8.1.1 and set up that in my project. I am getting errors like below


Module not found: Error: Can't resolve '@/components/kt-datatable/KTDataTable.vue' in '/proprint/src/components/customers/cards/overview'

When I debug the code what I found
The file name of your orignal KtDataTable is KTDatatable.vue

When I opened this file 'frontend/src/components/customers/cards/overview/Invoices.vue'

the imported Ktdatatble file name is different like below and now it's giving me error
import Datatable from "@/components/kt-datatable/KTDataTable.vue";

Can you please check how can I solve this issue?

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 (1)

Hi Vinay,

We refactored a KTDatatable, now you can import datatable components from "@/components/kt-datatable/KTDataTable.vue".

Also, usage has been changed, you can refer to usage examples in our doc:
https://preview.keenthemes.com/metronic8/vue/docs/#/kt-datatables

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  :(