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!
Replies (1)
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.
Check out our API setup docs.
https://preview.keenthemes.com/metronic8/vue/docs/#/api-setup
Regards,
Lauris Stepanovs,
Keenthemes Support Team