Angular 9 + Docker

栏目: IT技术 · 发布时间: 5年前

内容简介:Angular 9 Starter with Material, Transloco, Jest & Compodocby

Angular 9 + Docker

Angular 9 + Material + Transloco + Jest + Compodoc + Docker

Angular 9 Starter with Material, Transloco, Jest & Compodoc

by @wlucha

Features

:white_check_mark: Angular 9+

:white_check_mark: Angular Material Theming

:white_check_mark: Jest Unit Testing

:white_check_mark: Internationalization with Transloco

:white_check_mark: Auto documentation with Compodoc

:white_check_mark: Analyse your project with webpack-bundle-analyzer

:white_check_mark: Docker Support

Deploy

Demo

Install / Development

git clone https://github.com/wlucha/angular-starter
cd angular-starter

# Install dependencies
npm install

# Start server
npm run start

# Open in browser: http://localhost:4200

Docker Deployment

# Build Docker image
docker build . -t angular-starter  

# Run Docker Container
docker run -p 3000:80 angular-starter

Docker Hub

https://hub.docker.com/r/wlucha/angular-starter

Commands

  • npm run start - start the app
  • npm run test - run unit tests
  • npm run build - build the project
  • npm run build:prod - build the project in production mode
  • npm run build:prod:stats - build the project in product mode with stats
  • npm run analyse - analyse bundle with webpack-bundle-analyzer
  • npm run compodoc - generate compodoc documentation
  • npm run changelog - generate changelog

以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

最愚蠢的一代

最愚蠢的一代

马克·鲍尔莱因 / 杨蕾 / 天津社会科学院出版社 / 2011-7 / 39.80元

《最愚蠢的一代》 美国大学教授的鲍尔莱恩认为,数码时代正在使美国的年轻一代成为知识最贫乏的一代人。 美国的青少年和年轻人正在被数码时代各种娱乐消遣性的工具所淹没。这些工具包括手机、社交网络和信息传送等等。他们通过这些工具传达的却是幼稚浮浅的东西,而且这些东西正在妨碍他们同历史、公民义务、国际事务和美术等成年人的现实世界进行重要的接触。 我们想当然地以为,这些善于吸收新技术的美国年......一起来看看 《最愚蠢的一代》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

html转js在线工具
html转js在线工具

html转js在线工具