mirror of
https://github.com/penpot/penpot-plugins.git
synced 2025-01-06 14:50:21 -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
|
||||
{
|
||||
"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"]
|
||||
}
|
||||
```
|
||||
|
|
|
@ -17,7 +17,9 @@ Next, create a `manifest.json` file inside the `/public` directory. This file is
|
|||
```json
|
||||
{
|
||||
"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"]
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue