abp icon indicating copy to clipboard operation
abp copied to clipboard

Can not import UiExtensionsModule from @abp/ng.theme.shared/extensions.

Open SooRaj-1994 opened this issue 1 year ago • 1 comments

Ui: Angular

I'm currently in the process of migrating my application from version 5.2.2 to the latest 8.0.0. After replacing some components, the application functions correctly in version 5.2.2. Upon inspecting the node modules of the old application, the extensions folder is clearly visible.

image

Upon installing the new version and adding the node modules using yarn (also tried npm), I encountered the following error: "Cannot find module '@abp/ng.theme.shared/extensions' or its corresponding type declarations."

Additionally, I couldn't locate the extensions folder within the ng.theme.shared directory in the node_modules. image

I've checked your documentation for any module replacement instructions, but I couldn't find any relevant changes. In the provided example, the UiExtensionsModule is imported with '@abp/ng.theme.shared/extensions,' similar to my approach, yet it's not functioning in my case.

SooRaj-1994 avatar Jan 04 '24 13:01 SooRaj-1994

@SooRaj-1994 @abp/ng.component/extensible https://github.com/abpframework/abp/blob/dev/npm/ng-packs/packages/components/extensible/src/lib/extensible.module.ts

yinchang0626 avatar Jan 05 '24 01:01 yinchang0626

I am also getting the same error after upgrading to version 8.0.5 from 7.4.0. Can you please let me know what is the solution to overcome this?

Thank you

JigneshBuoyancy avatar Mar 28 '24 09:03 JigneshBuoyancy

Hi, what is exactly your error ? Can you show the error messages ? It must couldn't find the components | directives | pipes some of them are convert to standalone yet we expose all of it in ExtensibleModule

masum-ulu avatar Mar 29 '24 00:03 masum-ulu