Skip to content

[Vue.js] How to access the app instance? #479

Closed
@Kocal

Description

@Kocal

Hi everyone,

Currently it looks like it's not possible to access the result of createApp() in order to add some customisation, e.g. when you want to use a plugin:

const app = createApp();

app.use(MyPlugin);
app.use(MyPluginWithOptions, {
    // ...
});

When reading render_controller.ts code, I don't see/understand how we can access this.app, making plugins (like Vue Router) unusable.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions