【发布时间】:2018-10-19 00:33:09
【问题描述】:
我的清单如下所示:
{
"manifest_version": 2,
"name": "My Extension",
"description": "This extension is a starting point to create a real Chrome extension",
"version": "0.0.1",
"browser_action": {
"default_popup": "./public/index.html",
"default_title": "Open the popup"
},
"icons": {
"16": "/images/get_started16.png",
"48": "/images/get_started48.png",
"128": "/images/get_started128.png"
},
"permissions": [
]
}
这是我的文件结构:
到目前为止,我所拥有的只是一个基本的 react 应用程序,它带有一个连接起来作为 chrome 扩展程序工作的清单。是什么导致我的弹出窗口不加载默认反应页面?我已经尝试了我能想到的 index.html 文件位置的所有变体。
【问题讨论】:
标签: javascript reactjs google-chrome-extension