This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
angular [2020/06/01 08:37] admin |
angular [2020/06/01 10:18] (current) admin [Angular CLI] |
||
---|---|---|---|
Line 45: | Line 45: | ||
If ther is no operator (a), it means that the exact 6.0.0 version is required, and it will be downloaded when the "npm install" is done. If there is a"^" operator (b) it means that npm install will get the latest version of the major version of the component, what means that the first number will be allways the same. If there is a "~" operator (c), it means that npm install will get the latest version of the minor version, what means that the first two numbers will be unaltered. | If ther is no operator (a), it means that the exact 6.0.0 version is required, and it will be downloaded when the "npm install" is done. If there is a"^" operator (b) it means that npm install will get the latest version of the major version of the component, what means that the first number will be allways the same. If there is a "~" operator (c), it means that npm install will get the latest version of the minor version, what means that the first two numbers will be unaltered. | ||
+ | |||
+ | ng generate component feed | ||
+ | |||
+ | It will create a new component called FeedComponent | ||
+ | |||
+ | ng generate interface feed | ||
+ | |||
+ | It will create an interface called Feed | ||