saw such code:
import { Editor, EditorContent } from 'tiptap' So I understand it imports a typetap plugin, but what about Editor and EditorContent? Why does laravel use code like:
window.Vue = require('vue'); window.VueResource = require('vue-resource'); window.VueGoodTable = require('vue-good-table'); window.vue2Dropzone = require('vue2-dropzone'); but not the same import ?? What is the difference and how to write
import { Editor, EditorContent } from 'tiptap', so that it is similar to require? Ideally, just explain why and why. I'm still in complete confusion