Skip to content

Using modules #19

@yelyel

Description

@yelyel

In the lesson using modules I get the error : 'import declarations may only appear at top level of module'. If I add the type = "module" to the script tag in the index file, the error doesn't show anymore but the script doesn't work anymore either. What's goin' on ??? ThX for a quick answer ! Yel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions