Using the example from Layers to display a custom background behind the network-graph.
Actual behaviour
The site refuses to load and throws the following error:
Uncaught SyntaxError: Identifier '\__vite__injectQuery' has already been declared (at ${mod.id}:55007:1)
Possible solution
By replacing the :href="withBase('/worldmap.svg')" with :href="'./worldmap.svg'" the side loads as expected and the custom svg is displayed in the background.
I'm not certain what caused the error but with the above adjustments the example works fine.
Expected behaviour
Using the example from Layers to display a custom background behind the network-graph.
Actual behaviour
The site refuses to load and throws the following error:
Uncaught SyntaxError: Identifier '\__vite__injectQuery' has already been declared (at ${mod.id}:55007:1)
Possible solution
By replacing the
:href="withBase('/worldmap.svg')"
with :href="'./worldmap.svg'" the side loads as expected and the custom svg is displayed in the background.I'm not certain what caused the error but with the above adjustments the example works fine.
Example code
Vue version