Angular2's provide() function deprecated in RC4 and later, what should be used instead?

后端 未结 0 1169
一整个雨季
一整个雨季 2021-02-12 06:07

I just upgraded from Angular2 RC1 to RC4.

Before I used:

provide(LocationStrategy, {useClass: HashLocationStrategy})

However, after upg

相关标签:
回答
  • 消灭零回复
提交回复
热议问题