Added angular-librarian for manage library

This commit is contained in:
Lorenzo Iovino 2017-11-14 11:07:08 +01:00
parent 9d174550f5
commit e625f9fd30
44 changed files with 1867 additions and 228 deletions

View file

View file

View file

@ -0,0 +1,8 @@
import { Component } from '@angular/core';
@Component({
selector: 'example-root',
templateUrl: './example.component.html',
styleUrls: []
})
export class ExampleComponent { }

4
examples/example.main.ts Normal file
View file

@ -0,0 +1,4 @@
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { ExampleModule } from './example.module';
platformBrowserDynamic().bootstrapModule(ExampleModule);

View file

@ -0,0 +1,18 @@
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { ExampleComponent } from './example.component';
import { Ng2FittextModule } from '../index';
@NgModule({
declarations: [
ExampleComponent
],
imports: [
BrowserModule,
Ng2FittextModule
],
providers: [],
bootstrap: [ExampleComponent]
})
export class ExampleModule { }

12
examples/index.html Normal file
View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<head>
<title>Ng2FittextModule Tutorial</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<example-root>Loading...</example-root>
</body>
</html>

0
examples/styles.scss Normal file
View file