Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wrong import when module added to angular project #15550

Closed
muhammedaltug opened this issue Jan 30, 2023 · 0 comments
Closed

Fix wrong import when module added to angular project #15550

muhammedaltug opened this issue Jan 30, 2023 · 0 comments

Comments

@muhammedaltug
Copy link
Contributor

muhammedaltug commented Jan 30, 2023

related question https://support.abp.io/QA/Questions/4429/Create-new-module-fail

Currently, ABP cli adds the following lines to app.module.ts

import { ModuleNameModule } from '@module-name/config';

@NgModule({
    imports: [
     // other imports
    ModuleNameModule.forRoot(),
    ]
})

It should add following lines

import { ModuleNameConfigModule } from '@module-name/config';

@NgModule({
    imports: [
     // other imports
    ModuleNameConfigModule.forRoot(),
    ]
})
@muhammedaltug muhammedaltug added this to the 7.0-patch milestone Jan 30, 2023
@yekalkan yekalkan modified the milestones: 7.0-patch, 6.0-patch Jan 30, 2023
muhammedaltug added a commit that referenced this issue Feb 2, 2023
Cli: Fix wrong import when module added to angular project
@yekalkan yekalkan closed this as completed Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants