Get 2024 Templates Mega Bundle!19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets
Get for 99$

metronic 9 tailwindcss + react and vite as bundler issues


I've been following through this tutorial https://keenthemes.com/metronic/tailwind/docs/getting-started/integration/frontend/react in order to install metronic v9 (with tailwindcss) on my vite+react project

project was made from scratch by following and copying the given commands provided by the tutorial
I've ran in some issues such as missing dependency but i fixed them by installing missing packages (@popperjs/core)
but even bending typescript rules disabling type enforcement i get " 'x' doesn't provide an export named: 'Foo' " to every component export

Is there any ready template I can check/a solution I can follow?


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)


same issue here but for vue and also in some instances i get Uncaught ReferenceError: can't access lexical declaration 'KTSticky' before initialization



Hi,

Sorry for the delay in reply.

We were revising our documentation and found a few issues and missing steps, we are planning to release a doc update by tomorrow with the latest fixes. I will inform you once the update is live.

Regards,
Lauris Stepanovs,
Keenthemes Support Team



Exactly the same issues, although I have not got as far on my install as I have not wanted to disable anything...thinking a £50 template should work out of the box...silly me!



There must be an import/export problem


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