Page in external library

hi.
i’m trying to split my ionic app into several package, which i then publish to private npm.
and the structure looks like this:

Atlas-Core
–pages
----LoginPage

Atlas-Gateway
–pages
-----HomePage

in HomePage, there is ion-nav that calls LoginPage.
if I use import {LoginPage}, the app works.
However, if i use literal string “LoginPage”, it doesnt work.

I have no idea how to make it work. Can someone help me?

thanks
juna