29 lines
459 B
Markdown
29 lines
459 B
Markdown
# reui-blocks
|
|
|
|
Block source files for the Shadsite catalog.
|
|
|
|
## Layout
|
|
|
|
```
|
|
blocks/
|
|
{slug}.tsx # flat block sources (1407 files)
|
|
test/ # auxiliary imports (e.g. BlogBlocksPage)
|
|
```
|
|
|
|
Consumed by the main app via `BLOCKS_ROOT=./storage/blocks`.
|
|
|
|
## Clone with main repo
|
|
|
|
```bash
|
|
git submodule update --init --recursive
|
|
```
|
|
|
|
## Update blocks in main repo
|
|
|
|
```bash
|
|
cd storage
|
|
git pull origin main
|
|
cd ..
|
|
npm run blocks:sync-registry
|
|
```
|