Ability to create a component without creating it's parent directory?
See original GitHub issueIf I have a components/
directory and want to just create a file in that directory when running the script can I do that with the current implementation?
so if I run create-component-app -t container
and call it NavContainer
can I get it to create it under components/NavContainer.js
instead of components/NavContainer/NavContainer.js
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Create Component without folder - Stack Overflow
I need to create a component without the folder ...
Read more >ng generate component using the CLI - Pluralsight
ng generate component is a simple one-line command which creates different files and a folder, and it references the newly created component ......
Read more >Getting started with standalone components - Angular
imports can also be used to reference standalone directives and pipes. In this way, standalone components can be written without the need to...
Read more >Python - Import from parent directory - GeeksforGeeks
As we have discussed earlier it is not possible to import a module from the parent directory, so this leads to an error...
Read more >How to share data between components in Angular
When we build components in an application, we maybe need to share or send data from parent to child or without a direct...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @CVarisco @mdxprograms ,
Maybe we can create an optional config file in the base directory of the template with specific configs for it. When we use the template first we read the config and then we can generate the components by them.
.config.yml
Thanks @CVarisco