kites
kites copied to clipboard
Kites Micro Frontend
Build admin panel as an extension of kites. #kites-admin
First implement will use React?
Extensions have own their controllers
and views
for micro frontend.
Example:
Extension({
prefix: 'api/v1', // api route prefix
controllers: [
`./controllers/todo.controller`,
`./controllers/user.controller`,
],
views: [
`./pages/user`,
`./pages/dashboard`
]
})
class TodoExtension {}
Output:
- The application publish the API controllers.
- The client can access two generated pages:
User
andDashboard
A plugin is an extension which implements both server and client side.