dutchheight / craft-cookie-boss

Allow your visitors to set their cookie preference.
Other
3 stars 1 forks source link

Vuejs CDN overrides local settings #32

Open scott-davidjones opened 2 years ago

scott-davidjones commented 2 years ago

Hello,

I am hoping this plugin is still alive and well, I have a site i have inherited that I wanted to use this plugin on; however, when enabled i notice parts of the site no longer work.

The cookie popup works fine. The issue is with the injection of

<script src="https://cdn.jsdelivr.net/npm/vue@2.6.12"></script>

the vuejs from the above cdn overwrites our locally built webpack vuejs - This then causes things like this.$apollo to be undefined.

Is there a way to stop this behaviour?