Added angular-librarian for manage library
This commit is contained in:
parent
9d174550f5
commit
e625f9fd30
44 changed files with 1867 additions and 228 deletions
0
examples/example.component.html
Normal file
0
examples/example.component.html
Normal file
0
examples/example.component.scss
Normal file
0
examples/example.component.scss
Normal file
8
examples/example.component.ts
Normal file
8
examples/example.component.ts
Normal 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
4
examples/example.main.ts
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
||||
import { ExampleModule } from './example.module';
|
||||
|
||||
platformBrowserDynamic().bootstrapModule(ExampleModule);
|
||||
18
examples/example.module.ts
Normal file
18
examples/example.module.ts
Normal 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
12
examples/index.html
Normal 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
0
examples/styles.scss
Normal file
Loading…
Add table
Add a link
Reference in a new issue