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

KTStepper is not defined


metronic 8 demo 8 template v8.1.5 stepper intigrate the my project, but below error given,
plz advice
unloading.js:5 Uncaught ReferenceError: KTStepper is not defined


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 Dilip Kasuntha

It seems like the KTStepper object is not being recognized, which could indicate that the required JavaScript files for the stepper component are not properly imported or loaded in your project. Here are some steps you can take to resolve this issue:

Check JS File Import: Ensure that you have imported all the required JavaScript files for the stepper component in your project. You can use the plugins.bundle.js and scripts.bundle.js files from the assets folder of the Metronic template.

Verify File Paths: Double-check the file paths for the imported JavaScript files to ensure they are correct and pointing to the right location in your project.

Check Initialization: Make sure that you are initializing the KTStepper component correctly in your JavaScript code. Check the documentation of the Metronic template for the correct initialization method and parameters.

Console Errors: Check the browser console for any additional error messages that might provide more information about the issue.

If the issue persists, please provide more details about how you are integrating the stepper component into your project, including any relevant code snippets, so that I can assist you further.


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