100
rated 0 times
[
104]
[
4]
/ answers: 1 / hits: 49062
/ 7 Years ago, mon, february 13, 2017, 12:00:00
I have such project structure:
- MyApp
`- firstFolder
`- firstFile.js
`- secondFolder
`- thirdFolder
`- thirdFile.js
How can I import firstFile.js
from thirdFile.js
?
Something like import myFunc from '../firstFolder/firstFile';
in thirdFile.js
, doesn't work.
More From » requirejs