
#Similar to smartapp code
production code goes through optimizations, minifying, uglyfying, tree-shaking algorithm - but that's just price for nice chunked minimalist builds.Consider to do some exersizes or tee while waiting. On the final step it may look frozen completely. On huge app prod build may take more than 10 mins.Use the npm run build:prod for a production build.inspect built chunks, just to get idea how.dev build off app with dozen routes/pages takes comparatively acceptable time (~ 1 min).checkout how excluding routes from *.routing.ts file reduces *.chunks.js count.The build artifacts will be stored in the dist/ directory.Run npm run build to build the project.| |- polyfills.ts # polyfills for browsers | |- custom-typings.d.ts # typescript definitions tweaks | |- environment # env specific variables | | |- # here you can async fetch data for app before init | | |- # shared module useful for reexport common functionality | | |- shared # dir with common directives, components, services, pipes | | |- guards # prevent core module of being loaded twice | | |- core # core module for app wide injectable service instancess | | |- +feature-module-1 # by convension async modules are prefixed with + sign exclude whole template parts from compilation by commenting them in src/app/Ĭheckout scripts section in package.json for tools launching shortcuts App structure.Quick way to speed up builds when testing Point your browser to tip Possible Error: Missing Ĭopy the code from jquery into \node_modules\jquery-color\ as.or checkout cookbook section for some starting tips.To start whole app template (this means a lot of initial compilation) in local dev server run.
#Similar to smartapp install
If your npm install ends with long tree of project dependencies - then you are going right way.

Starting from version 0.4.5 we are supporting AOT builds.
