Skip to content
This repository was archived by the owner on Apr 9, 2023. It is now read-only.
This repository was archived by the owner on Apr 9, 2023. It is now read-only.

on Safari and ios it doesn't always work  #468

@chengp97

Description

@chengp97

When I use the plugin to prerender the page of my vue project mobile app, I found that it runs normally on Android and Chrome browsers, but this pre-rendered page occasionally appears on Safari and iPhone. I have done a lot of attempts and explorations. But I still can't find out the problem. Now I put all the js at the bottom of the body, and added the following code at the end, the pre-rendered page is consistent, is there a better solution
window.onload = function(){ const script2 = document.createElement('script'); script2.src = "/mspmk-cli-financechannel/js/app.6251bdbb.js" document.body.appendChild(script2);}

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