How does angular use the command to create a new component in a specified directory?

looked up for a long time, but couldn"t find out how to use the command to create services, components, etc., in the specified directory, and moved the directory files manually each time.
for example, I want to put the member management page in the src/content directory. I have tried to use ng g c content/membersManage , and
also tried to change the directory cd to content and then use the command ng g c membersManage . But either way, you end up generating a new file in the src/app directory.
so do you have such a command to create services or components in a specified directory? Or is my order written wrong?!
angular version 5.2

clipboard.png


app is the root component, and the subcomponents in it go all the way down to the molecular component. If you run it in app/content, you can


I have tried cd to execute ng g c membersManage in the corresponding directory. You can create component in this directory. It is speculated that the version of angular-cli is too low. You can consider upgrading the version of angular-cli


.

Link description

this should be helpful to you

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bdfd-2c2b3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bdfd-2c2b3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?