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