admin管理员组

文章数量:1389274

Whenever I generate a new library, I wind up having to manually migrate things up a few folders to get them where I want them to be. I generate my libraries into different folders within libs to keep them anized so I have an apps folder, ui folder types folder, etc. Ideally I would like my new libraries to generate as

libs => apps => myNewApp => index.ts, project.json, package.json and everything else.

But instead it goes

libs => apps => myNewApp => src => lib => myNewApp => all my files.

.... at least as far as I can recall because I've so far migrated everything back up to the top level. But how can I control that to make it generate them as in the first example?

本文标签: nrwl nxHow can we specify folder structure when generating a library in NXStack Overflow