akaSECTION
akaSECTION
NNuxt
Created by Joni on 8/27/2024 in #❓・help
Have multiple layouts for one page depending on condition
you can also use setPageLayout function dynamically at runtime, but if you do that after mounted, you will get a slight blank display until the layout is fetched (unless you find the way to preload the layout first)
5 replies
NNuxt
Created by bnason on 9/21/2023 in #❓・help
Server side worker thread
hmm in your case, isn't that better to entirely separate the worker process into different pid? then bridge both of them via IPC?
10 replies
NNuxt
Created by bnason on 9/21/2023 in #❓・help
Server side worker thread
up Also, I have similar case, not for intensive task, but rather a background job. Is there a way to build a worker JS file on server-side and reference them so we can spawn the worker?
10 replies