/angular-aot-webpack

angular-aot-webpack

Primary LanguageJavaScript

angular-aot-webpack


You should rename `'babelrc'` to `'.babelrc'` before you run the program;
ProdServer default of url is `'/router/'`,And you can edit it what is in the `'./config/prod-server/prod-server.js'`

####dev:

 npm start

Host Location:localhost:3000;
####prod:

 npm run ngcStart
 npm run webpack-pro
 npm run server-prod

Host Location:localhost:3001;

When you run npm run webpack-pro ,
You will get an Error: Cannot find name 'System'
This is normal,because I load a lazyLoadModule in router.module.ts
Please ignore it
The program can running normally