Change folder components (Angular.io 7+)

Asked

Viewed 231 times

0

Nowadays I have the following structure in my Angular7 project

.src
..app
...dash-component
...login-component
...outro-component

Is there a way to automatically change the components directory without having to change all the components references in the project? I wanted to create a structure more or less like the example below:

.src
..app
...components
....dash-component
....login-component
....outro-component

Switching to kids, I want to create a "Components" folder and group all my components inside it in order to minimize the mess of the project.

I already know how to use angular-cli to create the Components where I wish. My question in this case is specifically about moving existing components.

  • By angular-cli hj is not possible, you can try searching an unofficial way.

  • @Eduardovargas, do you have any suggestions about this? I googled, but found nothing satisfactory.

  • I guess you have to do it in your hand anyway

  • I already did. I used Vscode, it helps when changing the references... But there is the question... If someone knows how to answer, I thank.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.