Sha256: b598e42cfc874e987c7330fd356bca33c2bfb1a25dea94cda2fdcc176aeb5bf1
Contents?: true
Size: 485 Bytes
Versions: 9
Compression:
Stored size: 485 Bytes
Contents
import Vue from 'vue' import { app, plugin } from '@inertiajs/inertia-vue' import { InertiaProgress } from '@inertiajs/progress' document.addEventListener('DOMContentLoaded', () => { InertiaProgress.init(); const el = document.getElementById('app') Vue.use(plugin) new Vue({ render: h => h(app, { props: { initialPage: JSON.parse(el.dataset.page), resolveComponent: name => require(`../Pages/${name}`).default, }, }), }).$mount(el) })
Version data entries
9 entries across 9 versions & 2 rubygems