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
使用
详情请访问用户文档
- 安装依赖
npm i @wangeditor/editor-for-vue --save
- 安装核心包
npm i @wangeditor/editor --save
- 导入组件
import { Editor, Toolbar } from "@wangeditor/editor-for-vue";
- 引入样式
<style>
@import url(@wangeditor/editor/dist/css/style.css);
</style>
开发
- 安装依赖
yarn
- 运行文件
- 打包
yarn dev
或yarn build
- 或运行 example
yarn example