Skip to content

Commit

Permalink
fix(misc): update nx-welcome templates with as-provided generator pat…
Browse files Browse the repository at this point in the history
…hs (#20129)
  • Loading branch information
leosvelperez committed Nov 9, 2023
1 parent fda47a1 commit 40f54d5
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ import { Component, ViewEncapsulation } from '@angular/core';
<pre><span># Generate UI lib</span>
nx g &#64;nx/angular:lib ui
<span># Add a component</span>
nx g &#64;nx/angular:component button --project ui</pre>
nx g &#64;nx/angular:component ui/src/lib/button</pre>
</details>
<details>
<summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ import { CommonModule } from '@angular/common';
<pre><span># Generate UI lib</span>
nx g &#64;nx/angular:lib ui
<span># Add a component</span>
nx g &#64;nx/angular:component button --project ui</pre>
nx g &#64;nx/angular:component ui/src/lib/button</pre>
</details>
<details>
<summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ export const App = () => {
@nx/expo:component \
</Text>
<Text style={[styles.textXS, styles.monospace]}>
button --project ui
ui/src/lib/button
</Text>
</View>
<View style={styles.listItem}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ export default async function Index() {
<span># Generate UI lib</span>
nx g @nx/next:library ui
<span># Add a component</span>
nx g @nx/next:component button --project=ui
nx g @nx/next:component ui/src/lib/button
</pre>
</details>
<details>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ export function createAppJsx(name: string) {
<span># Generate UI lib</span>
nx g @nx/next:library ui
<span># Add a component</span>
nx g @nx/next:component button --project=ui
nx g @nx/next:component ui/src/lib/button
</pre>
</details>
<details>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,9 @@ defineProps<{
</summary>
<pre>
<span># Generate UI lib</span>
nx g @nx/react:lib ui
nx g @nx/vue:lib ui
<span># Add a component</span>
nx g @nx/react:component button --project ui
nx g @nx/vue:component ui/src/lib/button
</pre>
</details>
<details>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ export const App = () => {
@nx/react-native:component \
</Text>
<Text style={[styles.textXS, styles.monospace]}>
button --project ui
ui/src/lib/button
</Text>
</View>
<View style={styles.listItem}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ export function NxWelcome({ title }: { title: string }) {
<span># Generate UI lib</span>
nx g @nx/react:lib ui
<span># Add a component</span>
nx g @nx/react:component button --project ui
nx g @nx/react:component ui/src/lib/button
</pre>
</details>
<details>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,9 @@ defineProps<{
</summary>
<pre>
<span># Generate UI lib</span>
nx g @nx/react:lib ui
nx g @nx/vue:lib ui
<span># Add a component</span>
nx g @nx/react:component button --project ui
nx g @nx/vue:component ui/src/lib/button
</pre>
</details>
<details>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ export class AppElement extends HTMLElement {
nx g @nx/angular:lib ui

<span># Add a component</span>
nx g @nx/angular:component button --project ui</pre>
nx g @nx/angular:component ui/src/lib/button</pre>
</details>
<details>
<summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ export class AppElement extends HTMLElement {
nx g @nx/angular:lib ui

<span># Add a component</span>
nx g @nx/angular:component button --project ui</pre>
nx g @nx/angular:component ui/src/lib/button</pre>
</details>
<details>
<summary>
Expand Down

0 comments on commit 40f54d5

Please sign in to comment.