You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, yes sure! Do you know if there is a way to detect Vue during runtime? In this case we would not even need an option, but could just detect its use and change the js snippets as required.
@lcnittl The most naive way would be to scan the theme's scripts looking for some Vue keywords (e.g. __isVue) but imo it's safer to leave this feature as a configurable option.
Hi,
I noticed that your extension doesn't work properly in a Vue-based theme (for example: Sphinx Press theme)). The script tag generated by the library causes a JS error in the Vue which results in the white page. This issue is mentioned here: https://stackoverflow.com/questions/69514098/writing-javascript-code-in-a-component-using-vue
I think the best would be to add extra configuration property that lets the extension know that Vue is used.
The text was updated successfully, but these errors were encountered: