From 6821d9f0815012a4c3241ad79c1ebeb1a925cf93 Mon Sep 17 00:00:00 2001 From: Juanfran Date: Thu, 30 May 2024 09:33:05 +0200 Subject: [PATCH] fix: docs --- docs/create-angular-plugin.md | 4 +++- docs/create-plugin.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/create-angular-plugin.md b/docs/create-angular-plugin.md index 9b89493..d12df73 100644 --- a/docs/create-angular-plugin.md +++ b/docs/create-angular-plugin.md @@ -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"] } ``` diff --git a/docs/create-plugin.md b/docs/create-plugin.md index b6ecb79..38b1357 100644 --- a/docs/create-plugin.md +++ b/docs/create-plugin.md @@ -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"] } ```