nocobase/packages/samples/custom-page
chenos a7e6e4716a
feat: add custom page sample and doc (#855)
* docs: custom ui route sample

* feat: custom page

* fix: remove error

* feat: update doc

* fix: defaultShowCode  true
2022-09-27 22:50:10 +08:00
..
src feat: add custom page sample and doc (#855) 2022-09-27 22:50:10 +08:00
client.d.ts feat: add custom page sample and doc (#855) 2022-09-27 22:50:10 +08:00
client.js feat: add custom page sample and doc (#855) 2022-09-27 22:50:10 +08:00
package.json feat: add custom page sample and doc (#855) 2022-09-27 22:50:10 +08:00
README.md feat: add custom page sample and doc (#855) 2022-09-27 22:50:10 +08:00
server.d.ts feat: add custom page sample and doc (#855) 2022-09-27 22:50:10 +08:00
server.js feat: add custom page sample and doc (#855) 2022-09-27 22:50:10 +08:00

Custom page

Register

yarn pm add sample-custom-page

Activate

yarn pm enable sample-custom-page

Launch the app

# for development
yarn dev

# for production
yarn build
yarn start

Visit the custom page

Open http://localhost:13000/hello-world in a web browser.