angular.js - How to use webpack configuration packaging for projects quickly built by ng2 angular-cli
phpcn_u1582
phpcn_u1582 2017-05-15 17:11:34
0
1
668

Everyone who has used angular2 should know that the Angular CLI provided by angular2 can quickly build and quickly generate various templates for serives, components, directives, and modules...
However, using Angular CLI can be very fast and simple. To build an angular2 project, you only need to master a few lines of commands to build the best practices for front-end architecture; simple things mean inflexibility (and it is still in the beta stage), and it cannot configure the project with high control.

Triedangular-cli@webpack Cannot install

How to combine the advantages of the two, or use angular2-cli webpack to configure packaging projects? ? Please give me some advice

phpcn_u1582
phpcn_u1582

reply all(1)
世界只因有你

Hello, the latest version of angular-cli has been built using webpack. You only need to run it in the project directory

$ ng build

You can package the project
Please refer to here for details

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template