I have these three files - tabs, routes, urls in a folder called config
Folder structure
config
| - urls
| - tabs
| - routes
Here's what I tried so far. Created an index.js file in config folder where I could write all the export statements.
export * from './routes'
export * from './urls'
export * from './tabs'
I want to nest all the files like below in import statement and use them wherever needed in other .js files
import {tabs, routes, urls } from '../config'
How do I group all the files in one single import statement. Could anyone please help?