In devstack, I working with openedx nutmeg release and now I want to need some changes in the header and footer which will come for mfe like the courses page, Discussion, profile and so more. I figured out mfe header and footer comes from the below repo so i fork the header and footer repo
in the src folder and add the module.config.js file
module.exports = {
/*
Modules you want to use from local source code. Adding a module here means that when this app
runs its build, it'll resolve the source from peer directories of this app.
moduleName: the name you use to import code from the module.
dir: The relative path to the module's source code.
dist: The sub-directory of the source code where it puts its build artifact. Often "dist".
*/
localModules: [
// { moduleName: '@edx/brand', dir: '../src/brand-openedx' }, // replace with your brand checkout
// { moduleName: '@edx/paragon/scss/core', dir: '../src/paragon', dist: 'scss/core' },
// { moduleName: '@edx/paragon/icons', dir: '../src/paragon', dist: 'icons' },
// { moduleName: '@edx/paragon', dir: '../src/paragon', dist: 'dist' },
{ moduleName: '@edx/frontend-component-header', dir: '../src/frontend-component-header', dist: 'src' },
{ moduleName: '@edx/frontend-component-footer', dir: '../src/frontend-component-footer', dist: 'src' },
],
};
in the frontend-app-learning folder and got an below error .
any other way to customize my own header and footer in devstack or any other way like this so please guide me on what can I do…
Thanks in Advance