gaea-editor-vue
demo
Installation
Install with yarn:
$ yarn add gaea-editor-vue
# or with npm:
$ npm install gaea-editor-vue
Usage:
Main.js:
//依赖vuex
import store from './store/index';
import GaeaEditor from 'gaea-editor-vue';
Vue.use(GaeaEditor, {store});
component.vue:
<template>
<div id="app">
<gaea-editor style="height:600px" />
</div>
</template>
<script>
</script>
<style>
</style>
扩展开发
$ yarn run build