ng-web-console
v1.2.0
Published
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> [![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-) <!-- ALL-CONTRIBUTORS-BADGE:END -->
Downloads
4
Readme
NgWebConsole
Display console.log statements in your web page.
Table of Contents generated with DocToc
Installation
npm install ng-web-console
Usage
- Register the console providers:
import { provideNgWebConsole} from "ng-web-console";
// inside your app module or app component
providers: [
provideNgWebConsole()
]
- Add the console component to the imports array of your module or component:
import { NgWebConsoleComponent } from "ng-web-console";
// inside your app module or app component
imports: [
NgWebConsoleComponent
]
- Start using the console component in your template:
<ng-web-console/>
- Start logging:
// use console.log somewhere in your codebase
console.log("Hello World");
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!