How to downgrade the dependencies for npm packages in StackBlitz?

后端 未结 2 1686
隐瞒了意图╮
隐瞒了意图╮ 2021-01-12 23:05

I\'m trying to create an app for demo propose on StackBlitz and must use Angular 5.2.x because my app is still using 5.2.x. I just can\'t downgrade from v6 to v5.2 when I tr

相关标签:
2条回答
  • 2021-01-12 23:20

    Delete the existing package by clicking the trash can when hovering over the package: Where it says enter package name type @angular/common@5.2.10 and click enter.

    The package will be installed. Repeat for rxjs@5.5.10 and @http/common@5.2.10

    0 讨论(0)
  • 2021-01-12 23:28

    I thinks the best way is to generate an angular project with the version you want and host it at github then browser the project online at StackBlitz ,It 's look like import an angular project.

    read more about this Run Angular CLI repos directly in your browser

    0 讨论(0)
提交回复
热议问题