项目环境配置

This commit is contained in:
xuyanfeng
2021-04-03 16:14:37 +08:00
parent 3f60e58c71
commit 820ce75422
12 changed files with 263 additions and 79 deletions

View File

@@ -1,4 +1,9 @@
import * as PluginMsg from '../core/plugin-msg'
console.log('on devtools')
debugger
import Manifest from '../manifest.json'
Manifest.devtools_page
// 对应的是Elements面板的边栏
chrome.devtools.panels.elements.createSidebarPane('Cocos', function (sidebar) {
sidebar.setObject({some_data: "some data to show!"});