This project was generated with Angular CLI version 13.1.0. with pnpm
node package manager
pnpm install
- If pnpm is not installed,
npm install -g pnpm
ng new my-new-pnpm-project --skip-install
Run ng serve
or pnpm start
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
- Add 'angular-cli-ghpages' under dev dependencies as below
"angular-cli-ghpages": "^1.0.0",
- Add the following json property to
angular.json
file under architect
"deploy": {
"builder": "angular-cli-ghpages:deploy"
}
- Install all the missing packages
pnpm i
- Deploy the app
ng deploy --base-href=/ng-template-depth/
ng-template-depth
is the name of the repo.