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

npm run serve not working for metronic theme version 8.1.5


I am working on laravel project , using vue 3 with it , when i am running npm run serve is gives the following error

Module not found: Error: Can't resolve './src/main.ts' in 'C:\laragon\www\marco_v2'

while running npm run watch it compiles it , and it is working fine , what i am trying to achieve is that while changing code from project it should automatically change the front-end as I am using vue 3. I already have followed the documentation.


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


Hi,

Could you please specify which tutorial did you followed for vue + laravel integration?

You can check our vue 3 + laravel 8 tutorial:
https://preview.keenthemes.com/metronic8/vue/docs/#/vue-laravel-integration

And vue 3 + laravel 9 (with Vite) integration tutorial:
https://devs.keenthemes.com/question/laravel-9-with-vite-vue-3-integration

Regards,
Lauris Stepanovs,
Keenthemes Support Team



Hi Lauris ,

I followed the tutorial for vue 3 + laravel 9 (with vite) and it is working,
thanks for providing the documentation,

Can you please provide vee-validate with dynamic input fields for example
Address 1, Address 2 etc



Hi,

If you are trying to make a reactive vee-validate input field then you can refer to vee-validate documentation.
https://vee-validate.logaretm.com/v4/guide/composition-api/caveats#reactive-field-names-with-usefield

Regards,
Lauris Stepanovs,
Keenthemes Support Team


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