mirror of
https://github.com/penpot/penpot-plugins.git
synced 2025-01-22 22:58:43 -05:00
fix: docs
This commit is contained in:
parent
a055db406b
commit
6821d9f081
2 changed files with 6 additions and 2 deletions
|
@ -17,7 +17,9 @@ Next, create a `manifest.json` file inside the `/src/assets` directory. This fil
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"name": "Example plugin",
|
"name": "Example plugin",
|
||||||
"code": "http://localhost:4200/assets/plugin.js",
|
"host": "http://localhost:4200",
|
||||||
|
"code": "/assets/plugin.js",
|
||||||
|
"icon": "/assets/icon.png",
|
||||||
"permissions": ["page:read", "file:read", "selection:read"]
|
"permissions": ["page:read", "file:read", "selection:read"]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
@ -17,7 +17,9 @@ Next, create a `manifest.json` file inside the `/public` directory. This file is
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"name": "Example Plugin",
|
"name": "Example Plugin",
|
||||||
"code": "http://localhost:4201/plugin.js",
|
"host": "http://localhost:4201",
|
||||||
|
"code": "/plugin.js",
|
||||||
|
"icon": "/icon.png",
|
||||||
"permissions": ["page:read", "file:read", "selection:read"]
|
"permissions": ["page:read", "file:read", "selection:read"]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue