kites icon indicating copy to clipboard operation
kites copied to clipboard

Kites Micro Frontend

Open vunb opened this issue 5 years ago • 1 comments

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 and Dashboard

vunb avatar May 03 '19 13:05 vunb

A plugin is an extension which implements both server and client side.

vunb avatar May 30 '19 16:05 vunb