Backend API URL
Shell / client အတွက် ပစ်မှတ် backend root URL ကို တစ်နေရာတည်းတွင် သတ်မှတ်အသုံးပြုနိုင်ပါသည်။
- Methods: setBackendAPI(url), getBackendAPI()
TSXBackendAPI
1import { BackendAPI } from "@quan-erp/shared-frontend-core";
2
3// Shell / bootstrap only — plugins should use getAxiosClient() for requests.
4BackendAPI.setBackendAPI("https://api.example.com");
5const root = BackendAPI.getBackendAPI();
6console.log(root);