title: CKFinder issue Uncaught TypeError: Cannot read property 'modal' of undefined with CKEditor 5 - Vue js
body: <p>I'm trying to integrate CKFinder in Vue js application. But facing this issue <strong>Uncaught TypeError: Cannot read property 'modal' of undefined</strong>. </p>
  
  <p>I'm following the <a href="https://ckeditor.com/docs/ckeditor5/latest/features/image-upload/ckfinder.html" rel="nofollow noreferrer">official documentation</a> for CKEditor5 / CKFinder for Vue js. </p>
  
  <p>Here the ckfinder configuration.</p>
  
  <pre><code>    ckfinder: {
          // Define the CKFinder configuration (if necessary).
          options: {
              resourceType: 'Images'
          },
      }
  
  </code></pre>
  
  <p>Here's the complete error message shown in the browser console.</p>
  
  <pre><code>Uncaught TypeError: Cannot read property 'modal' of undefined
      at CKFinderCommand.execute (ckfindercommand.js?9ed3:153)
      at CKFinderCommand.eval (observablemixin.js?3466:268)
      at CKFinderCommand.fire (emittermixin.js?e4c7:236)
      at CKFinderCommand.(:9191/anonymous function) [as execute] (webpack-internal:///./node_modules/@ckeditor/ckeditor5-utils/src/observablemixin.js:296:19)
      at CommandCollection.execute (commandcollection.js?e961:92)
      at ClassicEditor.execute (editor.js?7e01:299)
      at ButtonView.eval (ckfinderui.js?8a75:47)
      at ButtonView.fire (emittermixin.js?e4c7:236)
      at TemplateToBinding.eval (buttonview.js?d175:167)
      at ProxyEmitter.callback (template.js?56c1:1208)
  </code></pre>