1 | /**
|
2 | * @description 入口文件
|
3 | * @author wangfupeng
|
4 | */
|
5 |
|
6 | import './assets/style/common.less'
|
7 | import './assets/style/icon.less'
|
8 | import './assets/style/menus.less'
|
9 | import './assets/style/text.less'
|
10 | import './assets/style/panel.less'
|
11 | import './assets/style/droplist.less'
|
12 |
|
13 | import './utils/polyfill'
|
14 | import Editor from './editor/index'
|
15 |
|
16 | export * from './menus/menu-constructors/index'
|
17 |
|
18 | // 检验是否浏览器环境
|
19 | try {
|
20 | document
|
21 | } catch (ex) {
|
22 | throw new Error('请在浏览器环境下运行')
|
23 | }
|
24 |
|
25 | export default Editor
|