Browse Source

Merge pull request #13171 from abpframework/fix/pwa-init-command

add angular version to ng add command
pull/13172/head
Yunus Emre Kalkan 4 years ago
committed by GitHub
parent
commit
730c43b3f1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectModification/AngularPwaSupportAdder.cs

2
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectModification/AngularPwaSupportAdder.cs

@ -30,6 +30,6 @@ public class AngularPwaSupportAdder : ITransientDependency
{
var directory = Path.GetDirectoryName(filePath).EnsureEndsWith(Path.DirectorySeparatorChar);
CmdHelper.RunCmd("ng add @angular/pwa --skip-confirmation", workingDirectory: directory);
CmdHelper.RunCmd("ng add @angular/pwa@13 --skip-confirmation", workingDirectory: directory);
}
}

Loading…
Cancel
Save