Questions tagged [ngx-build-plus]
22 questions
0
votes
0 answers
Can we implement Angular microfrontend using angular-devkit?
I have recently gained an interest in developing microfrontends using module-federation, and I have started converting an existing Angular 13 app to microfrontend. The issue that I'm facing is that when I install module-federation, the default…
0
votes
1 answer
Is it possible to add a custom angular element to a component html other than index.html
Angular version used: v11
I am trying to integrate an application with lazy loaded modules as angular elements using ngx-build-plus into another application. I am having some difficulty adding the element to a component in the main application.
When…

Bennet Sam
- 116
- 1
- 1
- 5
0
votes
1 answer
Micro UI Angular issue in rendering element seperately
I'm creating a micro-frontend application. I have a container application in Angular. When I am injecting the selectors of the child applications to the container application it's working. But I need to run the child application alone when I hit the…

Rohith Joshy
- 1
- 2
0
votes
1 answer
Angular running custom plugin after build
I am trying to add async-css-plugin (https://www.npmjs.com/package/async-css-plugin) to Angular project. What this plugin does is, it converts the external style link tag in html file to something like:

Naveed Ahmed
- 10,048
- 12
- 46
- 85
0
votes
1 answer
Angular requires micro frontend's polyfills.js as well as vendor.js with main.js to load the element. And only loads the 1st declared main.js
I have build 2 micro apps with angular elements. Built the micro apps with ngx-built-blus with --output-hashing non --single-bundle true. Served them in 2 different ports in localhost. I'm currently facing the following issue. Shell app is a regular…

vish78
- 13
- 5
0
votes
0 answers
How can I share imported CSS file from my microservice through a whole html page?
I've created microservice using Angular. I build it in single es2015 module using ngx-build-plus:build.
So, I have a qustion.
How can I import CSS file (@import '@angular/material/prebuilt-themes/deeppurple-amber.css') in a way to make it possible…

Stas.dp
- 127
- 1
- 10
0
votes
1 answer
Within ngx-build-plus, how can I determine build configuration?
Using ngx-build-plus, and within a custom plugin, how can I determine what build configuration was requested from the angular cli build command-line?
If you are wondering how I'll use this, here is the use case:
I'm trying to rename the main.ts…

Post Impatica
- 14,999
- 9
- 67
- 78