Configuration utility for Angular
Please support this project by simply putting a Github star. Share this library with friends on Twitter and everywhere else you can.
ngx-config
uses APP_INITIALIZER
which executes a function when Angular app is initialized, and delay the completionof initialization process until application settings have been provided.
Name | Description | NPM |
---|---|---|
@ngx-config/core | Configuration utility for Angular | |
@ngx-config/http-loader | Loader for ngx-config that provides application settings using http |
|
@ngx-config/merge-loader | Loader for ngx-config that provides application settings by executing loaders in parallel and in series |
ngx-config
.If you want to file a bug, contribute some code, or improve documentation, please read up on the following contribution guidelines:
The MIT License (MIT)
Copyright (c) 2019 Burak Tasci
◆ 系统信息: OpenResty在表ngx.config里提供了六个功能接口,可以获取自身的一些信息: debug:是否是Debug版本 prefix:工作目录,也就是启动时“-p”参数指定的目录 nginx_version:大版本号,即内部Nginx的版本号 nginx_configure:编译时使用的配置参数 subsystem:当前所在的子系统,取值为“http”或“stream” ngx
1、插件下载 angular5 >= 5:npm install --save ngx-lightbox https://github.com/themyth92/ngx-lightbox import { Component } from '@angular/core'; import { Lightbox, LightboxConfig, LightboxEvent, LIGHTBOX_EVE
在Nginx中实现重定向可以通过rewrite指令,具体可参考《Nginx学习——http_rewrite_module的rewrite指令》 通过Lua模块也可以实现同样的功能,Lua模块提供了相关的API来实现重定向的功能,主要有: >ngx.exec 语法:ngx.exec(uri, args?) 主要实现的是内部的重定向,等价于下面的rewrite指令 rewrite regr
core/ngx_core剖析 头文件起手式 每一个头文件都必须具备头文件起手式,#ifndef、#define和#endif,这样做可以防止头文件被多次加载,最好头文件编辑一开始就这样,防止忘掉其中一部分,因为预编译是不带代码格式缩进的,所以在#endif这行中应该有注释来说明这个#endif的作用。 #ifndef _NGX_CORE_H_INCLUDED_ #define _NGX_CORE
ConfigMap 什么是ConfigMap? 用来存储应用所需要的明文配置数据的。 创建ConifgMap 使用yaml定义ConfigMap对象,在data字段中定义配置数据。 apiVersion: v1 kind: ConfigMap metadata: name: info data: count: '10' debug: 'on' path: '/etc/system
ngx-weui 是一个使用 Angular 构建的 WeUI 组件。 在线示例以及API文档。
ngx-fastdfs 是 nginx + lua +fastdfs 实现分布式图片实时动态压缩。 install 进入docker目录docker build -t fastdfs:dev . 使用 docker -idt -p 80:80 fastdfs:dev /bin/bash进入容器执行/etc/rc.local 测试 进入容器执行test目录下的./test.sh或者直接执行下面脚本
ngx-markdown ngx-markdown is an Angular library that combines... Marked to parse markdown to HTML Prism.js for language syntax highlight Emoji-Toolkit for emoji support KaTeX for math expression rende
ngx-admin Who uses ngx-admin?| Documentation | Installation Guidelines | Angular templates New! Material theme for ngx-admin Material admin theme is based on the most popular Angular dashboard templat
@sweetalert2/ngx-sweetalert2 Official SweetAlert2 integration for Angular This is not a regular API wrapper for SweetAlert (which already works very well alone), it intends to provide Angular-esque ut
ngx-dropzone A lightweight and highly customizable Angular dropzone component for file uploads. For a demo see DEMO. And the CODE for the demo. Install $ npm install --save ngx-dropzone Usage // in ap
ngx-slick Support angular 6+, Slick 1.8.1 Example Installation To install this library, run: $ npm install ngx-slick --save Consuming your library Once you have published your library to npm, you can
Angular Module for displaying a feed of items in a masonry layout using https://github.com/desandro/masonry This package was originally a fork from https://github.com/jelgblad/angular2-masonry to allo