Skip to content

Auto save on a vanilla js template shows wrong browser preview data #5611

Answered by smhutch
skillsboy asked this question in General
Discussion options

You must be logged in to vote

@skillsboy I could replicate this issue. The most curious part about this is that saving a file twice has a different result on the first and second save.

I'm unsure of exactly what is causing this, but am also interested in knowing why you are looking to add text ("No manipulation") inside the div tag? I would recommend either adding the HTML you require to index.js, or removing the id="app" from your HTML (which is used to replace the contents).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@skillsboy
Comment options

Answer selected by smhutch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants