Skip to content

qwik-particles implementation #5288

Answered by matteobruni
rtomlinson1 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, is there a documentation page for implementing in qwik? I have it set up like this in my component right now, and I'm getting an error about the engine library not finding "document". Do I need to surround the engine file with UseVisibleTask$ or something? I'm new to all this so I apologize if I'm just searching for the wrong information and missing the obvious.

file:///Users/ryantomlinson/qwik-space/qwik-app/node_modules/@tsparticles/engine/esm/Core/Engine.js:177 let domContainer = params.element ?? document.getElementById(id);

import { component$ } from "@builder.io/qwik";
import { tsParticles } from "@tsparticles/engine";
import { loadLinksPreset } from "qwik-particles"
// import …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rtomlinson1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants