permanet:
In your seondaryproject :
angular.json
"architect": { "build": { "options": { "outputPath": "dist/your-app-name", "baseHref": "/demo/", "deployUrl": "/demo/" }
--base-href=/demo/
: Specifies the base URL for the application’s routing (i.e., how Angular handles navigation).--deploy-url=/demo/
: Specifies the URL path for static assets (JavaScript, CSS, images, fonts, etc.).
Temporary(for ng build only)
ng build --base-href=/demo/ --deploy-url=/demo/
The configure web server to map a dir for this project
No comments:
Post a Comment