Skip to content

调整组件安装的方式,引入更多配置项 #133

@tzfun

Description

@tzfun

调整后使用以下方式注册:

import { createTerminal } from 'vue-web-terminal'

const terminal = createTerminal()
terminal.configTheme('customDark', "xxxx")
terminal.configTheme('customLight', "xxxx")
terminal.configStoreName("MyTerminalStorage")

const app = createApp(App)

app.use(terminal)

同时此次改动也会引入更多的配置项

Metadata

Metadata

Assignees

Labels

optimizationOptimizing design or code

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions