-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
147 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,107 +1,7 @@ | ||
<header class="flex"> | ||
<img | ||
alt="Nx logo" | ||
width="75" | ||
src="https://nx.dev/assets/images/nx-logo-white.svg" | ||
/> | ||
<h1>Welcome to {{ title }}!</h1> | ||
</header> | ||
<main> | ||
<h2>Resources & Tools</h2> | ||
<p> | ||
Thank you for using and showing some ♥ for Nx. | ||
</p> | ||
<div class="flex github-star-container"> | ||
<a | ||
href="https://github.com/nrwl/nx" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
If you like Nx, please give it a star: | ||
<div class="github-star-badge"> | ||
<svg | ||
class="material-icons" | ||
xmlns="http://www.w3.org/2000/svg" | ||
width="24" | ||
height="24" | ||
viewBox="0 0 24 24" | ||
> | ||
<path d="M0 0h24v24H0z" fill="none" /> | ||
<path | ||
d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z" | ||
/> | ||
</svg> | ||
Star | ||
</div> | ||
</a> | ||
</div> | ||
<p> | ||
Here are some links to help you get started. | ||
</p> | ||
<ul class="resources"> | ||
<li class="col-span-2"> | ||
<a | ||
class="resource flex" | ||
href="https://connect.nrwl.io/app/courses/nx-workspaces/intro" | ||
> | ||
Nx video course | ||
</a> | ||
</li> | ||
<li class="col-span-2"> | ||
<a | ||
class="resource flex" | ||
href="https://nx.dev/angular/getting-started/what-is-nx" | ||
> | ||
Nx video tutorial | ||
</a> | ||
</li> | ||
<li class="col-span-2"> | ||
<a | ||
class="resource flex" | ||
href="https://nx.dev/angular/tutorial/01-create-application" | ||
> | ||
Interactive tutorial | ||
</a> | ||
</li> | ||
<li class="col-span-2"> | ||
<a class="resource flex" href="https://connect.nrwl.io/"> | ||
<img | ||
height="36" | ||
alt="Nrwl Connect" | ||
src="https://connect.nrwl.io/assets/img/CONNECT_ColorIcon.png" | ||
/> | ||
<span class="gutter-left">Nrwl Connect</span> | ||
</a> | ||
</li> | ||
</ul> | ||
<h2>Next Steps</h2> | ||
<p>Here are some things you can do with Nx.</p> | ||
<details open> | ||
<summary>Add UI library</summary> | ||
<pre> | ||
# Generate UI lib | ||
ng g @nrwl/angular:lib ui | ||
<h1>Dynamic Component</h1> | ||
|
||
# Add a component | ||
ng g @nrwl/angular:component xyz --project ui</pre | ||
> | ||
</details> | ||
<details> | ||
<summary>View dependency graph</summary> | ||
<pre>nx dep-graph</pre> | ||
</details> | ||
<details> | ||
<summary>Run affected commands</summary> | ||
<pre> | ||
# see what's been affected by changes | ||
ng affected:dep-graph | ||
<m-renderer [name]="'MatInput'" [path]="'@angular/material/input'"> | ||
</m-renderer> | ||
|
||
# run tests for current changes | ||
ng affected:test | ||
|
||
# run e2e tests for current changes | ||
ng affected:e2e | ||
</pre | ||
> | ||
</details> | ||
</main> | ||
<!--<m-renderer [name]="'MyInputComponent'" [path]="'@dynamic-renderer/ui-lib'">--> | ||
<!--</m-renderer>--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
/* You can add global styles to this file, and also import other style files */ | ||
|
||
html, body { height: 100%; } | ||
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export * from './lib/core.module'; | ||
export * from './lib/renderer/renderer.component'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
import { RendererComponent } from './renderer/renderer.component'; | ||
|
||
@NgModule({ | ||
imports: [CommonModule], | ||
declarations: [] | ||
declarations: [RendererComponent], | ||
exports: [RendererComponent] | ||
}) | ||
export class CoreModule {} | ||
export class CoreModule { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { BrowserModule } from '@angular/platform-browser'; | ||
import { NgModule } from '@angular/core'; | ||
|
||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; | ||
import { FormsModule, ReactiveFormsModule } from '@angular/forms'; | ||
import { MyInputComponent } from './my-input.component'; | ||
import { MatInputModule } from '@angular/material/input'; | ||
|
||
@NgModule({ | ||
declarations: [ | ||
MyInputComponent | ||
], | ||
imports: [ | ||
BrowserModule, | ||
BrowserAnimationsModule, | ||
MatInputModule, | ||
FormsModule, | ||
ReactiveFormsModule | ||
], | ||
exports: [ | ||
MyInputComponent | ||
] | ||
}) | ||
export class MyInputModule { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,9 @@ | |
}, | ||
"my-app": { | ||
"tags": [] | ||
}, | ||
"ui-lib": { | ||
"tags": [] | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.