Skip to content

Conversation

@moeki0
Copy link
Contributor

@moeki0 moeki0 commented Nov 15, 2024

What are you trying to accomplish?

In particular, when using namespaces, there are cases where the suffix component is not needed, and I want to create such a component with the generator

What approach did you choose and why?

I added a --skip-suffix option that allows generating component files without the "_component" suffix, giving developers more flexibility in naming their components.

Anything you want to highlight for special attention from reviewers?

This option allows generating component files without the "_component" suffix,
giving developers more flexibility in naming their components.
@moeki0 moeki0 marked this pull request as draft November 15, 2024 10:18
@moeki0 moeki0 marked this pull request as ready for review November 15, 2024 10:23

## main

* Add `--skip-suffix` option to component generator
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Add `--skip-suffix` option to component generator
* Add `--skip-suffix` option to component generator.

@joelhawksley joelhawksley enabled auto-merge (squash) December 18, 2024 19:12
@joelhawksley joelhawksley merged commit 8b441cc into ViewComponent:main Dec 18, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants