Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Load worker - Nuxt
N
Nuxt
•
9mo ago
•
3 replies
kogratte
Load worker
Hey there
! I
'm trying to use a worker I need to load this way
:
new Worker(
new Worker(
MyWorkerSrc
?param1
=x
¶m2
=y
)
)
,
x
x
and
y
y
being defined dynamically
.
Then
, the worker should use url search params to instantiate what needs to be
.
My worker currently leaves in
@/assets/worker/myWorker.ts
@/assets/worker/myWorker.ts
.
How can I make sure that
:
- Worker is being compiled
- Worker is available in output
- Worker will be loaded using the
new Worker()
new Worker()
call
?
Nuxt
Join
Nuxt Community Chat Server
31,686
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Video load
N
Nuxt / ❓・help
2y ago
Worker env access
N
Nuxt / ❓・help
16mo ago
Slow initial load
N
Nuxt / ❓・help
4d ago