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

custom Plugins blocked #23

Open
DreadCube opened this issue Apr 15, 2020 · 0 comments
Open

custom Plugins blocked #23

DreadCube opened this issue Apr 15, 2020 · 0 comments

Comments

@DreadCube
Copy link

DreadCube commented Apr 15, 2020

Hi guys! I would like to add a custom plugin to the existing plugins. This should work as far i saw from the docs:

// add to global plugins
import { plugins } from 'axios-actions'
plugins.changeCase = changeCase

but exports.plugins is not extandable. Im getting a error message in the browser:
TypeError: Cannot add property changeCase, object is not extensible
looks like, exports.plugins is marked as Readonly.

"axios-actions": "^4.0.2",

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

1 participant