JSPM

  • Created
  • Published
  • Downloads 15388
  • Score
    100M100P100Q144130F
  • License MIT

wangEditor component for vue@next

Package Exports

  • @wangeditor/editor-for-vue

Readme

wangEditor for vue-next component

GitHub license npm build status

使用

  1. 安装依赖
npm i @wangeditor/editor-for-vue@next --save
  1. 安装核心包
npm i @wangeditor/editor --save
  1. 导入组件
import { Editor, Toolbar } from '@wangeditor/editor-for-vue@next';
  1. 引入样式
<style>
  @import url(@wangeditor/editor/dist/css/style.css);
</style>

开发

  1. 安装依赖 npm install
  2. 调试
    • 本地调试,启动 example 页面
      • npm run dev
    • 打包
      • npm run build
    • 测试 npm 包
      • 需要先打包 npm run build
      • 然后进行npm run link