Uncaught SyntaxError: import declarations may only appear at top level of a module

Problem:

Uncaught SyntaxError: import declarations may only appear at top level of a module

 

JS Code:

import {
    ClassicEditor,
    Bold,
    Essentials,
    Heading,
    Italic,
    Paragraph,
    List,
    Plugin,
    ButtonView
} from 'ckeditor5';
import 'ckeditor5/ckeditor5.css';

Solution?

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare