I have a folder system in my React project, which you can see in the screenshot below:
I am trying to make import to
index.js, located in
src/components/KeyboardCard/index.js, from file
context.js that is located in
I am getting this error message:
Module not found: Can’t resolve ‘…/context.js’ in ‘C:Reacttop-boardsrccomponentsKeyboardCard’.
Help me please.
It’s two levels higher:
import AppContext from '../../context';