mirror of
https://github.com/nocobase/nocobase
synced 2024-11-18 00:06:25 +00:00
29 lines
247 B
Markdown
29 lines
247 B
Markdown
|
# Hello sample
|
||
|
|
||
|
## Register
|
||
|
|
||
|
```ts
|
||
|
yarn pm add sample-custom-block
|
||
|
```
|
||
|
|
||
|
## Activate
|
||
|
|
||
|
```bash
|
||
|
yarn pm enable sample-custom-block
|
||
|
```
|
||
|
|
||
|
## Launch the app
|
||
|
|
||
|
```bash
|
||
|
# for development
|
||
|
yarn dev
|
||
|
|
||
|
# for production
|
||
|
yarn build
|
||
|
yarn start
|
||
|
```
|
||
|
|
||
|
## Demo
|
||
|
|
||
|
[gif]
|