sneat-co / ionic-ng-workspace

Multi-project setup for Ionic/Angular apps & libraries with single `node_modules` & `package.json`. Supports JetBrains IDE(s).
MIT License
7 stars 3 forks source link

how to use the shared library service in the ionic app #1

Open Avareto opened 4 years ago

Avareto commented 4 years ago

Thanks a lot for this great sample project! But I was not able to use any shared library service in the ionic project. Your ionic app doesn't use any components/services from the shared library projects as well. On the other hand, its not problem to use services from the shared library project in the angular project. What is the difference between the angular and ionic project? Can you please extent this sample project, simply by referencing the a shared library service in the ionic project as well?

trakhimenok commented 4 years ago

Hi, Thanks for the comment. I'll try to look into it this coming weekend.

trakhimenok commented 4 years ago

@Avareto have a look to this commit: https://github.com/sneat-opensource/ionic-ng-workspace/commit/72beafcd1b93b2f7e72c79632a842cf83c44bbda

It addes to HomePage usage of shared component (not from a package) and usage of a service from Lib0 package.

Please let me know if it works for you.

Thanks for the issue!