DEV Community

Discussion on: What are the differences between the following two methods?

Collapse
 
shweblee profile image
sh-web-lee

thank u. ok, I got it. So this is why I can't use 'router' in another JS file when I did as same as method 2