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

Double devtools message #120

Closed
suinly opened this issue Jul 15, 2019 · 7 comments
Closed

Double devtools message #120

suinly opened this issue Jul 15, 2019 · 7 comments

Comments

@suinly
Copy link

suinly commented Jul 15, 2019

Hi,

When I import model I have a double message by devtools (chrome) in browser console:

admin.js:123789
You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html

admin.js:105945
You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html

Sometimes it make crash vue-devtools extension. Without import vue-mc models message print once and extension works fine.

@mrFANRA
Copy link

mrFANRA commented Jul 15, 2019

Hi! Are you use NuxtJS?

@suinly
Copy link
Author

suinly commented Jul 15, 2019

No. I use laravel-mix 4.0.15, vue 2.6.10, vue-mc 0.5.0.

@mrFANRA
Copy link

mrFANRA commented Jul 15, 2019

I have some trouble when using vue-mc only with NuxtJS ...

@petitkriket
Copy link

I have the same error, could it be linked to the error reported at #121
vue-mc needs 2.5.17 instead of 2.*

it causes Vue to be loaded twice as seen in webpack-bundle-analyzer
Screenshot_20190731_144810

how to circumvent that ?

@suinly
Copy link
Author

suinly commented Aug 5, 2019

I have the same error, could it be linked to the error reported at #121

Thanks, I checked your version.

I replaced "vue": "2.5.17" with "vue": "^2.5.17" in node_modules/vue-mc/package.json, deleted the directory node_modules/vue-mc/node_modules/vue/ and rebuilded my project. After that, the vue stopped loading twice.

@petitkriket
Copy link

A PR has been opened here 🎉

@rtheunissen
Copy link
Collaborator

This has been fixed and released as part of v0.6.0.

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