Skip to content

__vue-devtools-plugin-settings__ let currentSettings = { ...defaultSettings }; #1609

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

Open
panhezeng opened this issue Nov 17, 2021 · 3 comments

Comments

@panhezeng
Copy link

Android 6.0 not support ... object , vue 3 support Android 6.0

vuejs/router#1207

@panhezeng
Copy link
Author

node_modules/vuex/dist/vuex.esm-bundler.js import { setupDevtoolsPlugin } from '@vue/devtools-api';
The production model is packaged into the vendor.
The proxy that vue 3 relies on supports at least Chrome 49, Spread syntax in object literals supports at least Chrome 60.

@Ludo-Las
Copy link

Same problem here, we have to support Chrome49 and vue router embeds the last vue-devtools api that causes a blank screen
Unexpected token ...
We have fixed the devtools-api versions to beta15 for the moment via a npm-shrinkwrap.json

@bastiW
Copy link

bastiW commented Dec 30, 2021

The actual problem is that the dependency you are using is not transpiled automatically.

When you are using Vue CLI you need to modify vue.config.js.

So in my case:

   // vue.config.js
module.exports = {
    transpileDependencies: [ 
        "vue-i18n",
        "@vue/devtools-api",
        "vue-router",
        "vue3-markdown-it"
    ]
}

Files inside node modules are not transpiled by default.
https://cli.vuejs.org/core-plugins/babel.html#configuration
I think that default behavior in the past. I am not sure why this was changed.

P. S. In case you are using vite.js you need to add the legacy plugin.

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

3 participants