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

vue_laravel


I followed this tutorial to integrate the vue pages into a laravel project : https://preview.keenthemes.com/metronic8/vue/docs/#/vue-laravel-integration

Displaying the pages does work but I need some help to set up the databases, is there any doc about that? As long as it isn't set up I cannot truely use the template.

Also, I guess that using inertia will be necessary, I'm trying something with a jetstream/inertia project right now instead of a simple laravel project but not sure if that's the best way.

Thanks


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)


Install your database client, by default it is MySQL, you can change it in the .env file.

Check mysql installation guide.
https://dev.mysql.com/doc/mysql-installation-excerpt/5.7/en/

After installation please make sure that your database name, user name, and password match once set in the .env file.

Then follow instructions in our laravel quick start doc:
https://preview.keenthemes.com/metronic8/laravel/documentation/getting-started/build?demo=demo1



Hi Lauris,

If I follow the tutorial you're pointing me too it would mean I'd be using your laravel folder which means that migrations and seeders are all existing already and properly setup but in my case as iIcreate a new laravel project and then integrate the vue pages the files are not the same. Therefore I have too bring the ones from your laravel to my newly created project.

The question I have is about this part, to migrate everything properly and make sure it works.

Thanks happy



Hi,

Sorry for the misunderstanding.

Yes, you can copy the migrations and seeders which you need from our laravel version.

You can find migrations in folder laravel/database/migrations and seeders in laravel/database/seeders.


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