vue-ueditor-pr

1.0.10 • Public • Published

vue-ueditor-ireader

A vue component wrapper for UEditor.

install

npm install --save vue-ueditor-ireader

use

In Vue

import ue from 'vue-ueditor-ireader';

<ue 
    :config="config"
    :id="ueId"
    ref="ue"
    v-model="ueContent"
>
</ue>

webpack.config.js

const CopyWebpackPlugin = require('copy-webpack-plugin')

const config = {
    plugins: [
        new CopyWebpackPlugin([
            {
                from: path.resolve(__dirname, '../node_modules/vue-ueditor-ireader/src/static/dialogs'),
                to: config.assetsSubDirectory + '/dialogs'
            }
        ])
    ]
}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i vue-ueditor-pr

      Weekly Downloads

      11

      Version

      1.0.10

      License

      ISC

      Unpacked Size

      2.61 MB

      Total Files

      184

      Last publish

      Collaborators

      • bluesky.al