Skip to content

Commit 840636c

Browse files
Update Inertia import to use named exports from 0.1
1 parent 070fd4e commit 840636c

File tree

1 file changed

+3
-3
lines changed
  • src/inertiajs-stubs/resources/js

1 file changed

+3
-3
lines changed

src/inertiajs-stubs/resources/js/app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
require('./bootstrap')
22

3-
import Inertia from 'inertia-vue'
3+
import { InertiaApp } from '@inertiajs/inertia-vue'
44
import Vue from 'vue'
55

6-
Vue.use(Inertia)
6+
Vue.use(InertiaApp)
77

88
let app = document.getElementById('app')
99

1010
new Vue({
11-
render: h => h(Inertia, {
11+
render: h => h(InertiaApp, {
1212
props: {
1313
initialPage: JSON.parse(app.dataset.page),
1414
resolveComponent: (name) => {

0 commit comments

Comments
 (0)