JSPM

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

wangEditor component for vue2.x

Package Exports

  • @wangeditor/editor-for-vue

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@wangeditor/editor-for-vue) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

wangEditor for Vue

GitHub license npm build status

使用

详情请访问用户文档

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

开发

  1. 安装依赖
  • yarn
  1. 运行文件
  • 打包 yarn devyarn build
  • 或运行 example yarn example