The New Way to Build! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Learn More

implement vue in my metronic 8 with laravel + vite


I am reaching out because I have a question regarding the implementation of Vue.js within my Metronic 8 project, which is built using Laravel and Vite.

I am relatively new to both Vue.js and the Metronic template, and I'm facing some challenges when trying to integrate Vue components into my existing project structure. Specifically, I'm unsure about the best practices for incorporating Vue.js into Metronic 8 while utilizing Laravel on the backend and Vite for build processes.


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


Hi Juan,

Thank you for reaching out to us.

There are a few approaches to combining Laravel with Vue. We have a dev post describing one possible integration to use Vue as a SPA.
https://devs.keenthemes.com/question/laravel-9-vue-with-vite-integration-metronic-v816

If you already have a project and want to add Vue support then better you can use the solution from the article below.


Feel free to ask if you have more questions about this or anything else.

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