mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-13 08:46:56 +08:00
📝 Update readme.
This commit is contained in:
parent
0fb01f1025
commit
ba574ac741
@ -81,11 +81,11 @@ 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]
|
> [!IMPORTANT]
|
||||||
> To avoid conflicts with other svgs IDs, generate a short ``uuid`` for the id: [Generate](https://generateuuid.online/short-uuid).
|
> To avoid conflicts with other svgs IDs, generate a short random number for the id: [Generate (only check 'include numbers')](https://nanoid.yuuniworks.com/).
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"id": "28NcjLCRGMGz",
|
"id": 45248,
|
||||||
"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