   ;
`
或者,仅在开发模式下导入
`js
if (process.env.NODE_ENV === "development") {
import("@whinc/web-console").then(WebConsole => {
new WebConsole(config);
});
}
`
$3
在 html 文件中引入 web-console(依赖 Vue 2.x)
`html
`
通过下面代码初始化
`js
new WebConsole(config);
`
API
WebConsole`构造参数如下: