Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Not compatible with Vue 3 #15

@JamesPoel

Description

@JamesPoel

.use(VueDeepSet) fires the exception:

app.js:43224 Uncaught (in promise) TypeError: Cannot set properties of undefined (setting '$deepModel')

window.axios = require('axios');
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';

import BootstrapVue3 from 'bootstrap-vue-3';

import {createApp, h} from 'vue';
import {createInertiaApp} from '@inertiajs/inertia-vue3';

import * as VueDeepSet from 'vue-deepset';

createInertiaApp({
    resolve: name => require(`./Pages/${name}`),
    setup({el, App, props, plugin}) {
        createApp({render: () => h(App, props)})
            .use(plugin)
            .use(BootstrapVue3)
            .use(VueDeepSet)
            .mount(el)
    },
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions