We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 070fd4e commit 840636cCopy full SHA for 840636c
src/inertiajs-stubs/resources/js/app.js
@@ -1,14 +1,14 @@
1
require('./bootstrap')
2
3
-import Inertia from 'inertia-vue'
+import { InertiaApp } from '@inertiajs/inertia-vue'
4
import Vue from 'vue'
5
6
-Vue.use(Inertia)
+Vue.use(InertiaApp)
7
8
let app = document.getElementById('app')
9
10
new Vue({
11
- render: h => h(Inertia, {
+ render: h => h(InertiaApp, {
12
props: {
13
initialPage: JSON.parse(app.dataset.page),
14
resolveComponent: (name) => {
0 commit comments