လက္ခဏာ
Plugin ကို install လုပ်ပြီး frontend entry တင်သွင်းနိုင်သော်လည်း၊ side menu မရှိခြင်း၊ route များက ဗလာ shell သာ ပြသခြင်း၊ သို့မဟုတ် admin API များက 403 ဖြင့် မှားယွင်းခြင်းတို့ ဖြစ်နိုင်ပါသည်။
ဖြေရှင်းနည်း
- Route နှင့် menu များကို PluginModule.register(AppRegistry) အတွင်းတွင် မှတ်ပုံတင်ပါ
- fetch၊ Protected နှင့် menu requiredApis အတွက် withApiMetadataFetchFn object တစ်ခုတည်းကို အသုံးပြုပါ
- React Query hook များ လည်ပတ်သော XxxPage နှင့် ProtectedXxx wrapper ကို ခွဲထားပါ
- Public / root route များအတွက် AppRegistry.rootRoute.add ကို အသုံးပြုရပါမည် — ပုံမှန် chrome route မဟုတ်ပါ
- အကောင့်ဝင်ထားသော အသုံးပြုသူ၏ အခန်းကဏ္ဍက လိုအပ်သော API များကို ခွင့်ပြုထားကြောင်း အတည်ပြုပါ