nocobase/packages/samples/custom-block
chenos 249dff16d3
refactor: plugin manager (#965)
* feat: improve code

* chore: update version

* feat: api service

* fix: api services

* feat: improve code

* feat: improve code

* feat: improve code

* feat: pm socket

* fix: test errors

* feat: add built-in plugins before upgrade

* feat: update docs

* feat: improve code

* fix: after load
2022-10-27 13:00:16 +08:00
..
src refactor: plugin manager (#965) 2022-10-27 13:00:16 +08:00
client.d.ts feat: custom block sample (#867) 2022-09-30 12:38:38 +08:00
client.js feat: custom block sample (#867) 2022-09-30 12:38:38 +08:00
package.json refactor: plugin manager (#965) 2022-10-27 13:00:16 +08:00
README.md feat: custom block sample (#867) 2022-09-30 12:38:38 +08:00
server.d.ts feat: custom block sample (#867) 2022-09-30 12:38:38 +08:00
server.js feat: custom block sample (#867) 2022-09-30 12:38:38 +08:00

Hello sample

Register

yarn pm add sample-custom-block

Activate

yarn pm enable sample-custom-block

Launch the app

# for development
yarn dev

# for production
yarn build
yarn start

Demo

[gif]