Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple run mounted() #170

Open
mehrdadphp opened this issue Dec 29, 2019 · 3 comments
Open

multiple run mounted() #170

mehrdadphp opened this issue Dec 29, 2019 · 3 comments

Comments

@mehrdadphp
Copy link

hi guys.

All components run two times. I run console.log('test') in all components it is a print twice.

So far no one has encountered this problem
Screenshot from 2019-12-29 12-10-21
?

@darkiron
Copy link

darkiron commented Jan 6, 2020

Same probleme
Some issue related this fact about webpack and vue-router

Visible on simple vue-cli and ssr-plugin.

Any ideas ?

@Zacaria
Copy link

Zacaria commented Jan 16, 2020

It seems like the renderScripts function outputs the bundle as well as being output by replacing the placeholder

When you remove the {{{ renderScripts() }}} in the index.ssr.html your app is mounted only once.

But I'm actually looking to understand the possible side effect of removing the renderScripts

@tarasbilohan
Copy link

Duplicate of #158

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants