I had import error SyntaxError: Cannot use import statement outside a module for next project structure: link to screenshot
SyntaxError: Cannot use import statement outside a module
I prepared simple example on