import Vue from 'vue' import CKEditor from 'ckeditor4-vue' const editorUrl = '/js/ckeditor/ckeditor.js' window.CKEDITOR_BASEPATH = '/js/ckeditor/' // editorUrl is a component prop, not a Vue.use() option — the default is the CDN. Vue.component('ckeditor', { ...CKEditor.component, props: { ...CKEditor.component.props, editorUrl: { type: String, default: editorUrl, }, }, })