Skip to content

How to use import statement? #219

Answered by yzx9
ngekoding asked this question in Q&A
Jun 15, 2021 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

This is a limiation from node.js, mix import and require will get an error. The simplest solution is that change .js to .ts, typescript will help you solve the the problem.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@ngekoding
Comment options

@yzx9
Comment options

@ngekoding
Comment options

@yzx9
Comment options

@ngekoding
Comment options

Answer selected by ngekoding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants