meteor / react-tutorial

React Tutorial is the best place to learn how to use React and Meteor together
https://react-tutorial.meteor.com/
39 stars 87 forks source link

paths correction, missing two dots '..' in the beginning #11

Closed samuel-mota closed 4 years ago

samuel-mota commented 4 years ago

I was doing this tutorial and realized it was not working, I figure it out the path was not pointing to the right folder, it was missing ".." in the beginning of "/imports/api/TasksCollection", after correct it the app worked.

filipenevola commented 4 years ago

Hi @samuel-mota, thanks for the feedback.

The tutorial is using absolute imports and not relative imports. /imports refers to the absolute path.

Maybe you did something different and then your absolute path is different?

samuel-mota commented 4 years ago

not sure what I did actually hahaha

I'm just following the tutorial as it is, I'm still learning and absolute paths is not working for me, that's why I sent this pull request, anyway, thanks for clarification :)


Atenciosamente, / Saludos Cordiales, / Best Regards, Samuel Mota

Em sex., 9 de out. de 2020 às 16:26, Filipe Névola notifications@github.com escreveu:

Hi @samuel-mota https://github.com/samuel-mota, thanks for the feedback.

The tutorial is using absolute imports and not relative imports. /imports refers to the absolute path.

Maybe you did something different and then your absolute path is different?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/meteor/react-tutorial/pull/11#issuecomment-706213703, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIKMIU7OO53QQRTSGW4QIPTSJ4MTFANCNFSM4SKDDIJA .

filipenevola commented 4 years ago

@samuel-mota sure, this is ok. You can open as many PRs you want and then we can discuss here, this is a great way to learn ;)