showing error after compile by webpack like plugins.bundle.js and script.bundle.js

Hello,

I have already purchased your theme.

I want to develop it in laravel and vue js.

The problem i am facing right now that is couple of js file showing error after compile by webpack like plugins.bundle.js and script.bundle.js.

Can you give me any advise please?

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,

Could you please send the screenshots of the error?

Thanks

https://snipboard.io/4HNi3C.jpg

please have a look. also after page refresh, side menu and aside bar not working.

May be js file not working.

Hi,

Are you working on the Metronic Laravel or your own Laravel?

For the "error after compiling by webpack", do you compile it with the webpack in the HTML version?

Thanks

I am working with my Own laravel.

I was making my own webpack.mix.js


Do you have any recommendation please?

But I need to make the project by laravel and Vue js. Which webpack I should use?

Hi,

In that case, I think it's better to refer to our Laravel webpack mix file and the assets structure.

themes/metronic/laravel/webpack.mix.js
resources/assets

Plain webpack in the HTML version will not be working well in Laravel. Laravel has its own webpack configuration and function using the mix.

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