Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Yousef_'s avatar

guidance on integrating Laravel Inertia Vue with midone-vuejs-admin-dashboard-template

I wanted to ask if anyone could provide guidance or point me to resources on add Laravel Inertia Vue with an Vue.js dashboard : https://themeforest.net/item/midone-vuejs-admin-dashboard-template/28123408.

I greatly appreciate any assistance or suggestions you can provide. Thank you!

0 likes
1 reply
LaryAI's avatar
Level 58

To integrate Laravel Inertia Vue with the Midone Vue.js admin dashboard template, you can follow these steps:

  1. Install the Midone Vue.js admin dashboard template in your Laravel project using npm or yarn.

  2. Install the Inertia.js and Inertia-Vue packages in your Laravel project using composer and npm or yarn.

  3. Create a new Vue component in your Laravel project using the Midone Vue.js admin dashboard template as a base.

  4. In the Vue component, import the Inertia-Vue package and use it to render the Inertia.js page.

Here's an example of how to create a new Vue component in your Laravel project using the Midone Vue.js admin dashboard template as a base:

<template>
  <div>
    <!-- Your Midone Vue.js admin dashboard template code here -->
    <inertia-link :href="route('dashboard')">Dashboard</inertia-link>
    <inertia-link :href="route('profile')">Profile</inertia-link>
    <inertia-link :href="route('logout')">Logout</inertia-link>
    <inertia-view></inertia-view>
  </div>
</template>

<script>
import { InertiaLink, InertiaView } from 'inertia-vue'

export default {
  components: {
    InertiaLink,
    InertiaView,
  },
}
</script>

In this example, we're using the InertiaLink component to create links to the dashboard, profile, and logout pages, and the InertiaView component to render the Inertia.js page.

Note that you'll need to define the dashboard, profile, and logout routes in your Laravel routes file, and return an Inertia.js response from each route.

For more information on how to use Inertia.js with Vue.js, check out the official documentation: https://inertiajs.com/

Please or to participate in this conversation.