mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-11-05 05:46:41 +00:00
项目环境配置
This commit is contained in:
@@ -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!"});
|
||||
|
||||
Reference in New Issue
Block a user