Skip to content

Return a Promise for async scripts? #240

Closed
@axdyng

Description

@axdyng

Hi,

Is it possible to a Promise when loading async scripts with vue-meta? So that code that are needed to be executed after the script is loaded won't run into error.

For example a script like this:

script: [{ src: '/someAsyncScript.js', async: true }]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions