Package Exports
- @wangeditor/editor-for-vue
Readme
wangEditor for vue-next component
使用
- 安装依赖
npm i @wangeditor/editor-for-vue@next --save
- 安装核心包
npm i @wangeditor/editor --save
- 导入组件
import { Editor, Toolbar } from '@wangeditor/editor-for-vue@next';
- 引入样式
<style>
@import url(@wangeditor/editor/dist/css/style.css);
</style>
开发
- 安装依赖
npm install
- 调试
- 本地调试,启动 example 页面
npm run dev
- 打包
npm run build
- 测试 npm 包
- 需要先打包
npm run build
- 然后进行
npm run link
- 需要先打包
- 本地调试,启动 example 页面