no message

This commit is contained in:
许彦峰
2019-03-18 12:05:07 +08:00
parent 53fb41ace7
commit 1af9abfb2d
8 changed files with 223 additions and 130 deletions

View File

@@ -1,3 +1,7 @@
const PluginMsg = require("./plugin-msg");
module.exports = {
id: "event-mgr",
testInit(name) {
chrome.runtime.connect({name: name})
}
}

View File

@@ -1,10 +1,10 @@
<!DOCTYPE html>
<html>
<html style="width: 100%;height: 100%;">
<head>
<meta charset="utf-8">
<title><%= htmlWebpackPlugin.options.title %></title>
</head>
<body>
<div id="app"></div>
<body style="width: 100%;height: 100%;">
<div id="app" style="width: 100%;height: 100%;"></div>
</body>
</html>

View File

@@ -0,0 +1,14 @@
module.exports = {
Page: {
Inject: "inject.js",
Devtools: "devtools.js",
Content: "content.js",
Popup: "popup.js",
Options: "options.js",
},
Msg: {
NodeInfo: "node_info",// 具体的节点信息
ListInfo: "list_info",// 节点树信息
Support: "game_support",// 游戏支持信息
}
}