31 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
86
views
Application Angular 18 not working after the build
I am quite new to Angular and I've developed an application which I would like to use as an online portfolio of my programing achievementaz&.
Locally, everything works fine, the routing is doing ...
2
votes
1
answer
62
views
Angular, using font from "theme" npm package in a angular component library
I have created an npm package "theme" that contains @font-face and font-size definitions. This npm package is integrated into an Angular library "shared-elements", which contains the components. This ...
2
votes
1
answer
97
views
How to use static files like images, videos and fonts file in Angular v18 project
I have a project in simple html and I want to convert the project to Angular v18. Please tell me how I can use all my different CSS files in my projects and also js file and also tell me how to use ...
2
votes
0
answers
210
views
How to config Angular locale with different subPath but same baseHref
The 'baseHref' field under 'i18n.sourceLocale' is deprecated and will be removed in future versions. Please use 'subPath' instead.
Note: 'subPath' defines the URL segment for the locale, acting as ...
0
votes
0
answers
178
views
Angular build process hangs at "Building..." and doesn't create dist folder
I am developing a system using Angular CLI: 17.3.9 and Node: 18.13.0. After finishing the development, when I run the command,
ng build
or
ng build --verbose
or
ng run build
the build process ...
1
vote
1
answer
340
views
Assets (Images and Font Awesome Icons) Not Showing After Angular 18 Production Build
I'm experiencing an issue with my Angular 18 project after running a production build. The images in the assets folder and Font Awesome icons are not displaying when the application is deployed. ...
1
vote
1
answer
3k
views
NX Required property 'browserTarget' is missing eventhough it's deprecated
When I run my angular app, I get the warning
Option "browserTarget" is deprecated: Use 'buildTarget' instead
I had several references of "browserTarget" in the file .../project....
1
vote
0
answers
168
views
Using Ckeditor in Angular causes CommonJS or AMD dependencies optimization bailouts warning
I keep getting this warning when I run our angular library in an angular application. The library itself has ckeditor as a peer dependency and has components that use ckeditor. So the app installs ...
0
votes
0
answers
139
views
How to Configure Custom AOT Compilation Options in Angular's angular.json?
I'm working on an Angular project and looking to optimize my application's performance using Ahead-of-Time (AOT) compilation. I understand that the angular.json file holds the project configuration, ...
0
votes
0
answers
823
views
How do I solve error Module parse failed: Unexpected character '@' You may need an appropriate loader to handle this file type?
Angular Project details:
"@angular/cli": "^15.2.10"
"swiper": "^8.4.7",
Am using swiper in my angular project and after migrating to angular 15 getting the ...
0
votes
1
answer
624
views
Angular fileReplacements does not work with assets after upgrading
After upgrading angular, fileReplacements is not working anymore with assets, here is my code :
"fileReplacements": [
{
"replace": "src/assets/scss/x.scss&...
5
votes
3
answers
4k
views
angular.json-> Property buildTarget is not allowed
I have migrated to Angular 17 using the migration tool. Everything works fine. But my angular.json shows a warning "Property buildTarget is not allowed."
Before, browserTarget was there, but ...
-1
votes
1
answer
713
views
What factors should be considered when setting budgets configuration in angular.json? [closed]
I am creating an Angular PWA that needs to be fast and light. When creating the angular application with the angular cli, I get a default budget that looks like this.
"budgets": [
{
&...
0
votes
1
answer
137
views
Upload file root of Angular and access
I am looking to upload a .js file example.js to Angular root and want to access it directly via localhost:3000/example.js
I have tried adding the file directly to root and also made changes to angular....
0
votes
0
answers
241
views
How to dynamically build angular.json file?
What I need? I want a convenient and easy way to create configuration for an Angular application (which is described in the angular.json file) on the fly. The same way this is done, for example, with ...