mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-10 14:46:54 +08:00
📄 Update README.
This commit is contained in:
parent
41f8a9b6a4
commit
a32d7ba2ce
@ -80,9 +80,12 @@ yarn install
|
|||||||
|
|
||||||
4. Go to the [**`src/data/svgs.ts`**](https://github.com/pheralb/svgl/blob/main/src/data/svgs.ts) and add the information about your logo, following the structure:
|
4. Go to the [**`src/data/svgs.ts`**](https://github.com/pheralb/svgl/blob/main/src/data/svgs.ts) and add the information about your logo, following the structure:
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> To avoid conflicts with other svgs IDs, generate a short ``uuid`` for the id: [Generate](https://generateuuid.online/short-uuid).
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"id": 1,
|
"id": 28NcjLCRGMGz,
|
||||||
"title": "Title",
|
"title": "Title",
|
||||||
"category": "Category",
|
"category": "Category",
|
||||||
"route": "/library/your_logo.svg",
|
"route": "/library/your_logo.svg",
|
||||||
|
Loading…
Reference in New Issue
Block a user