Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

Vue Version - Addind mysql2


Hi!!

I'm not an expert vue programmer, but I'm really enthusiastic about trying it out.
I was checking up on how to use the mysql2 library to make the connection directly, but After a few days of trying, no success at all! lol

I wonder if you could give me directions on how to add mysql2 to the demo1 project.

Thank you so much!


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


Hi Marcos,

Thank you for reaching out to us.

Please note that our Metronic demo1 Vue is a client-side theme, MySQL database usually is used on the server side and then you can access your database data on the client using your server's API.

Here is an article explaining how you can communicate with your server from Vue.
https://www.section.io/engineering-education/how-to-interact-with-an-api-from-a-vuejs-application/

Check out our API setup docs.
https://preview.keenthemes.com/metronic8/vue/docs/#/api-setup

Regards,
Lauris Stepanovs,
Keenthemes Support Team



As you embark on your journey to prepare for the VCS-285 exam, you may come across the term https://www.dumpsbuddy.com/vcs-285-certification-exam.html VCS-285 dumps. These are collections of exam questions and answers gathered from previous test-takers. While they can be a valuable resource, it's essential to understand both the advantages and disadvantages of using them.


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