摘要:
创建项目 ng new angular_demo01 --skip-install 执行依赖 cnpm install 编译 ng serve --open 创建组件或服务 ng g ng g component components/news 目录结构分析 阅读全文
摘要:
1 官方下载nodejs https://nodejs.org/en/download/ node -v 2 安装cnpm sudo npm install -g cnpm --registry=https://registry.npm.taobao.org cnpm -v 3 安装脚手架 sudo 阅读全文