UNPKG

460 BJavaScriptView Raw
1import Editor from './components/editor'
2import log from './utils/log'
3
4import config from '../package.json'
5
6const version = config.version // version_ to fix tsc issue
7
8const install = function (app, options = {}) {
9
10 app.component(Editor.name, Editor)
11
12 if (!options.disabledDoc) {
13 log.printVersion(config.name, config.version, config.homepage, '#722ed1')
14 }
15 return app
16}
17
18export { Editor }
19
20export default { version, install }