Setting up your first Angular(2) Project Using Angular CLI

Angular CLI is a command line tool which makes it easy for creating and scaffolding an application that works and follows solid practices. Installation Note: Before you install angular-cli make sure you have1. Node 6.9.0 or higher (node -v)2. NPM 3 or higher (npm -v) To Install the Angular CLI npm install -g angular/cli That’s … Read more Setting up your first Angular(2) Project Using Angular CLI

Passing Data to Stencil Component using @Prop()

In this article, we are going to learn how to pass data to component using @Prop() property Before going to read this article, you are recommended to read this article, if you didn’t read it. Here is an example to pass data: <br />import { Component,Prop } from '@stencil/core';<br /><br />@Component({<br /> tag: 'my-component'<br />})<br /><br … Read more Passing Data to Stencil Component using @Prop()

Creating Web Component with Stencil

In this article, we are going to create simple hello world web component using Stencil. If you ever worked with angular/typescript then It will be very easy for you to learn stencil,because most of the syntax are same. Now let’t take a look at stencil compnent <br />import { Component } from '@stencil/core';<br />@Component({<br /> … Read more Creating Web Component with Stencil