nx generate component ...
By default, Nx will search for component
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nx/vue:component ...
Show what will be generated without writing to disk:
nx g component ... --dry-run
Generate a component at mylib/src/lib/foo.vue
:
nx g @nx/vue:component mylib/src/lib/foo.vue
Generate a component without providing the file extension at mylib/src/lib/foo.vue
:
nx g @nx/vue:component mylib/src/lib/foo
Generate a component at mylib/src/lib/foo.vue
with vitest
as the unit test runner:
nx g @nx/vue:component mylib/src/lib/foo --unitTestRunner=vitest
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4