Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

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
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • 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.


Regards,
Lauris Stepanovs,
Keenthemes Support Team


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(