@simtech/vrp-frontend
SIMTech VRP FrontEnd
Last updated 2 years ago by chinh .
Contact authors for license · Repository · Original npm · Tarball · package.json
$ cnpm install @simtech/vrp-frontend 
SYNC missed versions from official npm registry.

SIMTech VRP Front-end

Front-end for vrp-nodejs

Setup

  • Ensure you have Node 6.11.1 or up and NPM 3+ installed.
  • Install Angular CLI npm i -g @angular/cli@1.5
  • Install Typescript 2.5+ npm i -g typescript
  • Install TSLint npm install -g tslint
  • Install Protractor for e2e testing npm install -g protractor
  • Install Node packages npm i
  • Update Webdriver webdriver-manager update and ./node_modules/.bin/webdriver-manager update
  • If using yarn, sometime need to run npm rebuild node-sass (see https://github.com/sass/node-sass/issues/1918) after install/add/remove package

Run

Deploy

Development

  • Recommended IDE: Visual Studio Code
  • Recommended Extension for Visual Studio Code:
    • TSLint (supports formatting and linting),
    • Debugger for Chrome (supports debugging),
    • TypeScript Hero (supports importing packages/components)
  • Configure Debugger Chrome Extension as follows:
            "name": "Attach to Chrome, with sourcemaps",
            "type": "chrome",
            "request": "attach",
            "port": 9222,
            // "url":"http://localhost:4200",
            "sourceMaps": true,
            "webRoot": "${workspaceRoot}",
            "sourceMapPathOverrides": {
                "webpack:///C:*": "C:/*"
                //  "webpack:///*": "/*"
                //    "webpack:///./*":"${workspaceRoot}\\*"
            }
        }
    
  • Run Chrome with options "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222

Performance Analysis

  • Run npm run bundle-report to generate bundle report

Tips and Tricks

Current Tags

  • 1.2.1                                ...           latest (2 years ago)

1 Versions

  • 1.2.1                                ...           2 years ago

Copyright 2014 - 2017 © taobao.org |