Skip to content

Using modules #19

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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