I would like to extend the record container component to remove some components I dont want to show on the page. I can extend the class and then in my extension I can use the same selector but I am not show how to get this new component to be compiled and overide the one in core. I also dont want to make changes in the core application.
You can check on this forum.
Run the Build Commands Sequentially: Build the frontend common, core, and shell packages in the specified order. Execute the following commands one by one:
yarn run build:common
yarn run build:core
yarn run build:shell
Here’s a brief explanation of what each command does:
yarn run build:common
: This command builds the common package, which likely contains shared components, utilities, or libraries used across other parts of your project.yarn run build:core
: This command builds the core package, which is essential for the main functionality of your project.yarn run build:shell
: This command builds the shell package, which may contain the main application shell or entry point for your project.
Run the following command to test the UI Angular Code
yarn run build-dev:extension defaultExt –watch
so you are saying I need to actually overide the entire route?
The issues is that any overides I have in my defaultExt dont get applied unless I register them in a the sidebar registry. and this is not a sidebar ite ten entire record container component. I want to overide the layout. Your solution is the php approach I am trying to build this with the angular approach.
Again something I havent tried BUT the reactive angular calls the tags/selectors SO in your extension import your new record container class, then in your extension.module.ts try and declare the new container so try this:
import {RecordModalComponent} from "./components/modal/record-modal/record-modal.component";
...
@NgModule({
declarations: [RecordModalComponent],
imports: [
obviously RecordModalComponent should be replaced by your new RecordContainer class.