Angularjs2项目打包发布以及部署在Linux上

Angularjs2项目打包发布以及部署在Linux上

cd xx-project

npm install //更新依赖

ng build –prod –aot //最小化打包

把生成的dist目录拷贝到虚拟根目录即可

发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>