鍍金池/ 問答/Java  Python  Linux  HTML/ npm上的一個(gè)公式富文本包,vue-cuihovah-ueditor,運(yùn)行報(bào)錯(cuò),

npm上的一個(gè)公式富文本包,vue-cuihovah-ueditor,運(yùn)行報(bào)錯(cuò),麻煩幫看一下,如下圖,謝謝

報(bào)錯(cuò)

 ERROR  Failed to compile with 1 errors                                                                                                                                                                                                     09:50:31

This dependency was not found:

* !!vue-style-loader!css-loader?{"sourceMap":true}!../_vue-loader@13.7.1@vue-loader/lib/style-compiler/index?{"vue":true,"id":"data-v-2bf8f03a","scoped":true,"hasInlineConfig":false}!sass-loader?{"indentedSyntax":true,"sourceMap":true}!../_vue-loader@13.7.1@vue-loader/lib/selector?type=styles&index=0!./ueditor.vue in ./node_modules/_vue-cuihovah-ueditor@1.3.0@vue-cuihovah-ueditor/ueditor.vue

To install it, you can run: npm install --save !!vue-style-loader!css-loader?{"sourceMap":true}!../_vue-loader@13.7.1@vue-loader/lib/style-compiler/index?{"vue":true,"id":"data-v-2bf8f03a","scoped":true,"hasInlineConfig":false}!sass-loader?{"indentedSyntax":true,"sourceMap":true}!../_vue-loader@13.7.1@vue-loader/lib/selector?type=styles&index=0!./ueditor.vue

npm

vue-cuihovah-ueditor,npm地址

test1.vue

<template>
    <div>
        <vue-ueditor :display="false" :exportData="exportData" />
    </div>
</template>
<script>
    import VueUeditor from 'vue-cuihovah-ueditor';
    export default {
        data(){
            return {
                text: ''
            }
        },
        mounted(){
            var that = this;
        },
        components: {
            VueUeditor
        },
        methods: {
            exportData: function(text){
                this.text = text;
            },
            importData: function(text){
                this.contentText = text;
            }
        }
    }
</script>

回答
編輯回答
抱緊我

沒有找到這兩個(gè)依賴包vue-style-loader css-loader,看下是不是沒裝

2018年3月28日 03:21