score:1

well as i understand you can import constant into your main js file after doing export in app.js. example. -

export const theme = createmuitheme({ palette: { primary: { main: "#54bd40", }, }, });

then import

import { theme } from "app"

and use it anywhere in your main js file.


Related Query

More Query from same tag