Every extension requires a JSON-formatted file, named manifest.json
, that provides important information.
This file must be located in the extension's root directory.
https://developer.chrome.com/docs/extensions/mv3/manifest/
{
"name": "crx-vue-multi-page",
"description": "A Chrome extension demo.",
"version": "1.0.0",
"icons": {
"16": "assets/icons/icon16.png",
"48": "assets/icons/icon48.png",
"128": "assets/icons/icon128.png"
},
"action": {
"default_popup": "../popup.html"
},
"options_page": "../options.html",
"chrome_url_overrides" : {
"bookmarks": "../bookmarks.html"
},
"content_scripts": [{
"matches": [ "<all_urls>" ],
"js": [ "content-scripts/content.ts"],
"run_at": "document_start"
}],
"web_accessible_resources": [{
"matches": ["<all_urls>"],
"resources": ["assets/*"]
}],
"manifest_version": 3
}