How can I check which version of Angular I'm using?

前端 未结 28 1171
死守一世寂寞
死守一世寂寞 2020-11-28 18:23

How can I tell which version of Angular I am using?

I have tried:

angular --version
angular --v
angular -version
angular -v

but get

28条回答
  •  情深已故
    2020-11-28 18:45

    You can also check it by inspecting the elements on the page:

    1. press F12 to open Browser's developer tools.

    2. Inspect an Element.

    3. Expand Body

    4. You will see the version of Angular, like the following:

    ng-version="4.3.6"

提交回复
热议问题