摘要:
https://stackblitz.com/ 借助StackBlitz网站可快速开始搭建一个angular项目 一个angular的component包含三项东西 A component classthat handles data and functionality. (componentName.component.ts) An HTML templatethat deter... 阅读全文
摘要:
1.打开cmd,进入你代码保存的文件夹,你想把新建的项目保存在哪个文件夹,即进入哪个文件夹: 我把文件放到这里: 然后,使用下面的命令创建项目: // ng new 项目名称,如下示例:创建名为 helloAngular的项目ng new helloAngular 安装后结果: 新建项目的过程可能会失败,在文末我会给... 阅读全文