igniteui-angular icon indicating copy to clipboard operation
igniteui-angular copied to clipboard

Simplify import statement

Open tkiryu opened this issue 8 years ago • 3 comments

Description

I want to write import statement for igniteui-angular as simple as possible.

Result

Currently, we have to write as below.

import { IgxXxxModule } from 'igniteui-angular/main'

Expected result

/main is unnecessary. I want to write as below.

import { IgxXxxModule } from 'igniteui-angular'

tkiryu avatar Feb 06 '18 16:02 tkiryu

We may eventually provide a barrel module at the root of the package at some point.

rkaraivanov avatar Feb 07 '18 12:02 rkaraivanov

With the new project structure this issue is no longer relevant. @tkiryu as you may see, now the imports are happening without the /main part.

zdrawku avatar Jun 07 '18 07:06 zdrawku

@zdrawku , I confirmed that now we can import modules and services from 'igniteui-angular'. Great! Thanks!

tkiryu avatar Jun 07 '18 09:06 tkiryu