简体   繁体   English

Angular 中的 Azure 应用程序设置

[英]Azure Application settings in Angular

Somebody know how to get the Applications settings in angular?有人知道如何以角度获取应用程序设置吗?

在此处输入图像描述

There are several ways to do it, one way is to use the npm package app-configuration有几种方法可以做到,一种方法是使用npm 包 app-configuration

and then you can access the config like this然后你可以像这样访问配置

const client = new AppConfigurationClient("<connection string>");

const setting = await client.getConfigurationSetting({
  key: "db"
});

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我想在我的 Angular Web 应用程序中使用 Azure 应用程序服务“应用程序设置”变量 - I want to use Azure app service 'Application settings' variables into my Angular web application 如何在 Angular 中访问 Azure 静态 Web 应用应用程序设置? - How can I access Azure Static Web Apps Application Settings in Angular? 在 azure 上部署 Angular 应用程序 - Deploy angular application on azure 从 angular 应用程序中的 JSON 文件读取应用程序设置 - Reading application settings from JSON file in angular application 在Angular 2及更高版本中访问Azure Web App设置的最佳方法 - Best approach to access Azure Web App Settings in Angular 2 and Above 无法在 .net 核心 3 + angular 应用程序的 AuthorizeService 中加载设置 - Could not load settings in AuthorizeService in .net core 3 + angular application 如何在Azure中将angular2应用程序部署为Webapp - How to deploy an angular2 application as a webapp in azure 蛋糕构建角度应用程序部署到天蓝色 - cake build angular application to deploy to azure Azure Application Insights实施angular6 - Azure Application Insights implementation angular6 在 azure linux 应用程序服务中托管 Angular 应用程序 - Hosting angular application in azure linux app service
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM