fix(misc): update nx-welcome templates with as-provided generator paths (#20129)
This commit is contained in:
parent
fda47a1737
commit
40f54d57c9
@ -744,7 +744,7 @@ import { Component, ViewEncapsulation } from '@angular/core';
|
||||
<pre><span># Generate UI lib</span>
|
||||
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>
|
||||
|
||||
@ -747,7 +747,7 @@ import { CommonModule } from '@angular/common';
|
||||
<pre><span># Generate UI lib</span>
|
||||
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>
|
||||
|
||||
@ -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}>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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}>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user