The application builder in Angular uses the webpack build tool, with configuration options specified in the workspace configuration file (angular.json) or with a named alternative configuration. This command must be executed from within the working directory. ![]() Ng build command compiles the Angular app into an output directory named dist/ at the given output path. This is my nginx conf at /etc/nginx/sites-available/. I deploy the application as the document Using Angular with ZK get the following. Then I setup nginx to setup a simple HTTP server to serve the files directly. Used gulp on the server to build typescript and scss. With these steps, the application is ready for deployment. Im writing an angular2 application, and want to deploy it on an EC2 instance. Não tenho certeza se isso vai ajudar alguém, mas se você estiver usando o angular-cli, resolvi isso removendo a referência css do meu index.html e adicionando-a ao arquivo angular-cli.json na parte 'estilo'. This starts a local HTTP server with production files. Generate single-spa-props.ts in src/single-spa/. The single-spa-angular schematics perform the following tasks: Install single-spa-angular. To get the preview of the application, run the following command: ng serve -prod Angular schematics are processed when you run ng add single-spa-angular or ng add single-spa-angular -project my-cool-app. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |