You can replace an existing extension with a new one you have created. To achieve this you must have an existing extension called my-extension, and its structure must be compliant with the content and structure of the current projects/my-extension file.
-
Run the following command from a command prompt from inside the root folder of the Digital Workspace project:
nx g @nrwl/angular:lib my-extensionNote
Ensure you use the same name as the existing extension, in this example it's called
my-extension.
Once complete, delete the content of the libs/my-extension directory, and replace it with the source code of the new Digital Workspace extension.