Initial import of 1407 block sources under blocks/
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# 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
|
||||
```
|
||||
Reference in New Issue
Block a user