I need to import my db.js file from a higher directory, I do not know how to do it and I can not find information on the Internet. What I want is something like this:
import db from './db'
I need to import my db.js file from a higher directory, I do not know how to do it and I can not find information on the Internet. What I want is something like this:
import db from './db'