# ReBIM **Repository Path**: ODanielO/ReBIM ## Basic Information - **Project Name**: ReBIM - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-06-19 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ReBIM git url ## https://gitee.com/ODanielO/ReBIM.git # 为了保证下载到本地能够运行,最好在打开软件的‘终端’中执行下列'$'开头的命令行指令。**开始** # 请先在终端/控制台窗口中运行命令 node -v 和 npm -v, 来验证一下你正在运行 node 8.x 和 npm 5.x 以上的版本。 更老的版本可能会出现错误,更新的版本则没问题。 // cnpm install // $ npm install -g cnpm --registry= https://registry.npm.taobao.org npm install $ npm install typescript install $ npm install -g typescript $ cnpm install -g typescript install angular/CLI $ npm install -g @angular/cli $ cnpm install -g @angular/cli **结束** start $ ng serve --open ( ng serve -o ) # 跨域启动方式(未验证) $ npm start (自动启用代理) $ ng serve --proxy-config proxy.conf.json (启动/在package.json中scripts-start-配置这个语句) 路由 $ ng generate module app-routing --flat --module=app ************************************************************************************************************** 已添加的kendoUI组件 ng add @progress/kendo-angular-buttons ng add @progress/kendo-angular-dropdowns ng add @progress/kendo-angular-grid ng add @progress/kendo-angular-inputs ng add @progress/kendo-angular-layout *** ng add @progress/kendo-angular-popup ng add @progress/kendo-angular-ripple *** ng add @progress/kendo-angular-dialog *** ng add @progress/kendo-angular-treeview ng add @progress/kendo-angular-tooltip ************************************************************************************************************** canvas2d内存溢出 在路径 \node_modules\.bin 下 ng.cmd,ngc.cmd两个文件中修改:[--max_old_space_size=] 给size添加值 @IF EXIST "%~dp0\node.exe" ( "%~dp0\node.exe" --max_old_space_size=102410241024 "%~dp0..............* ) ELSE ( @SETLOCAL @SET PATHEXT=%PATHEXT:;.JS;=;% node --max_old_space_size=102410241024 "%~dp0............................* ) 并且运行文件进入到 \node_modules\.bin 中,开始运行 ************************************************************************************************************** This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.0.8. ## Development server Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. ## Code scaffolding Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`. ## Build Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build. ## Running unit tests Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). ## Running end-to-end tests Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). ## Further help To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).