{"size": 795, "ext": "js", "max_stars_repo_path": "resources/js/app.js", "max_stars_repo_name": "GDCN-Team/GDCN", "max_stars_repo_stars_event_min_datetime": "2021-08-17T14:00:40.000Z", "max_stars_repo_stars_event_max_datetime": "2021-08-17T14:00:40.000Z", "max_issues_repo_path": "resources/js/app.js", "max_issues_repo_name": "GDCN-Team/GDCN", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "resources/js/app.js", "max_forks_repo_name": "GDCN-Team/GDCN", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 29.4444444444, "max_line_length": 89, "alphanum_fraction": 0.5685534591}
import {createApp, h} from "vue";
import $ from 'jquery';
import {createInertiaApp} from "@inertiajs/inertia-vue3";
import {InertiaProgress} from "@inertiajs/progress";
import route from 'ziggy-js';
import {ZiggyVue} from '../../vendor/tightenco/ziggy/dist/vue';
import {Ziggy} from './ziggy';

require("./bootstrap")

$(function () {
    window.$ = $;
    window.$route = (name, data = {}, options = {}) => route(name, data, options, Ziggy);

    createInertiaApp({
        resolve: name => import(`../views/modules/${name}`),
        setup({el, App, props, plugin}) {
            createApp({render: () => h(App, props)})
                .use(plugin)
                .use(ZiggyVue, Ziggy)
                .mount(el)
        }
    }).then(function () {
        InertiaProgress.init()
    });
})
