1.1.1 • Published 6 years ago
vue-xeditor v1.1.1
vue-xeditor
基于 VUE2 的 xeditor 富文本编辑器
结构
.
├── build/ # webpack 配置文件
│ └── ...
├── examples/
│ ├── esm/ # 开发运行的例子,里面会调用封装好的组件
│ │ ├── components # 业务级组件部分
│ │ └── ...
├── src/
│ ├── EmCkeditor.vue # 真正的组件
│ └── index.js # 全局注册组件,将组件引入,并添加到 vue-xeditor 对象中
├── .babelrc # Babel 配置
├── .eslintignore # 如果您不想被 Eslint 检测,那么请您在这里把它加上
├── .eslintrc.js # Eslint 配置
├── .gitattributes # git的相关配置
├── .gitignore # 如果您不想被 Git 控制,那么请您在这里把它加上
├── .stylelintignore # 不被 Stylelint 检查
├── .stylelintrc # Stylelint 配置
└── package.json # 启动项目的命令和依赖包等信息聚集地
命令
npm install
安装依赖包
npm start
开发环境
- 热重载
- vue 编译
npm run build
打包
- js 打包
看效果
确定安装完依赖npm install
之后,运行npm start
,会自动调到http://localhost:7701