https://github.com/piyalidas10/angular-custom-theme-build
Custom theme build in Angular 14 using ngx-build-plus
https://github.com/piyalidas10/angular-custom-theme-build
angular custom-build ngx-build-plus webpack
Last synced: 2 months ago
JSON representation
Custom theme build in Angular 14 using ngx-build-plus
- Host: GitHub
- URL: https://github.com/piyalidas10/angular-custom-theme-build
- Owner: piyalidas10
- Created: 2023-08-13T04:44:52.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-11T06:12:49.000Z (almost 3 years ago)
- Last Synced: 2025-10-03T22:52:51.995Z (9 months ago)
- Topics: angular, custom-build, ngx-build-plus, webpack
- Language: TypeScript
- Homepage:
- Size: 24 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Angular Theme Build
## ngx-build-plus package
Extend the Angular CLI's default build behavior without ejecting: 📄 Extend the default behavior by providing a partial config that just contains your additional settings.
Reference URL : https://github.com/manfredsteyer/ngx-build-plus
## Error scenarios
### peer dependency error
When getting peer dependency error run below command
npm install --legacy-peer-deps
It will override all the dependencies in package.lock.json & package.json file of your project.
### share module error
Error "shared module is not available for eager consumption"
Bootstrapping is required.
just moved the original main.ts content to the new file bootstrap.ts and update main.ts to:
import('./bootstrap').catch((error) => console.error(error));
### Angular upgrade from 12 to 14
First upgrade the @angular-eslint/schematics package
```
ng update @angular-eslint/schematics@14
```
Upgrade Angular
```
ng update @angular/core@14 @angular/cli@14
```
@angular-eslint/schematics - Schematics which are used to add and update configuration files which are relevant for running ESLint on an Angular workspace.