Question: This only allows to get image but i want users to be able to pick documents too.

```
Intent intent = new Intent();
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);
startActivityForResult(Intent.createChooser(intent, "Select Picture"),PICK_IMAGE); 

```

Answer: 
Adding this to **vue.config.js**, worked for me. 

```
const path = require('path')

module.exports = {
  configureWebpack: {
    externals: {
      vue: 'Vue'
    }
  }
}

```
In my case, this error arose after module federating my components.
I solved it by sharing vue in the component receiver to the component supplier.
e.g

```
webpack.config.js 
module.exports = { 
   plugins: [

    new ModuleFederationPlugin({
      name: "dashboard",
      remotes: {
        web_common: "web_common@http://localhost:8081/remoteEntry.js"
      },
      shared: {
        vue: { // this solved my issue.
          eager: true,
          singleton: true,
          requiredVersion: deps.vue
        },
      }
    }),
   ]

}

```