Open
Description
Clear and concise description of the problem
When my application starts up, I request a configuration file from the server which includes the Plausible configuration. Only after I've received that can I actually call createPlausible
with the correct parameters. However, to use v-plausible
, I need to load it via app.use(createPlausible({}))
in the main.js
file which is executed before I even load the configuration. Within my App.vue
, from what I understand, I can no longer load the plugin, because I no longer have access to app
.
Is there a way to set/change the plausible configuration within v-plausible
after the plugin has been loaded?
Suggested solution
Provide a way to update the configuration of plausible after plugin load.
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Activity