The local ASF-PluginTemplate cannot load the ASF-UI page correctly. Please help #2849
-
Hi, I'm trying to run ASF-PluginTemplate locally using Rider. However, when I try to open localhost:1242(asf-ui) in my web browser, the page cannot be opened and I get an error code of 404. Can you please tell me what I need to do to fix this issue? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
ASF-ui is optional part of ASF that is not built for plugin as it's not needed. You can copy If you want to build ASF-ui as part of ASF, then simply navigate to Another option is testing your plugin in production build of ASF. |
Beta Was this translation helpful? Give feedback.
ASF-ui is optional part of ASF that is not built for plugin as it's not needed. You can copy
www
folder from production build of ASF (e.g. from generic variant) and put it asArchiSteamFarm/ASF-ui/dist
inside your plugin template, then you should have it available on ASF start.If you want to build ASF-ui as part of ASF, then simply navigate to
ArchiSteamFarm/ASF-ui
and runnpm ci
andnpm run deploy
, then rebuildArchiSteamFarm
solution.Another option is testing your plugin in production build of ASF.