# ng4 Simple Example **Repository Path**: zhuo666/ng4-Simple-Example ## Basic Information - **Project Name**: ng4 Simple Example - **Description**: 模型名+内存假数据+消息Service注入+菜单Service注入 - **Primary Language**: 其他 - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-12-25 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ng4 Simple Example 模型名 内存假数据(仿WEB API) 消息Service注入 菜单Service注入 #支持环境版本 ```c $ node -v v6.10.2 $ npm -v 3.10.10 $ cnpm -v cnpm@5.1.1 $ ng -v _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | | / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | | /_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___| |___/ Angular CLI: 1.5.0 ``` #克隆git仓库命令 ```c git clone https://gitee.com/zhuo666/ng4-Simple-Example.git ``` #cd 切换项目路径 ```c cd ng4-Simple-Example/list4-ng4/ ``` #安装本地node模块命令 ```c cnpm install ``` #启动ng4项目 ```c npm start ``` #在浏览器输入网址 ```c http://localhost:4200/ ``` #提交之时不想把mode_modules文件夹的话,就去新建.gitignore文件 ```c # dependencies /list4-ng4/node_modules ```