Base solution for your next web application
Open Closed

Starting a fresh project in angular - how to integrate abp? #8766


User avatar
0
BobIngham created

Hi guys, A general question as asked above. If I wanted to reproduce AppComponentBase with selected services such as LocalizationService, PermissionCheckerService etc how would I go about this? Where are the abp files - are these imported via yarn? What's the plumbing behind the scenes which would allow me to do this and use AppComponentBase in Ionic components? Ionic is standard Angular so this should be possible. This is for a new Ionic 5 project which Nuagecare and Synapsis Software are collaborating on and can be made open-source once complete.


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @bobingham,

    Angular app imports services from https://www.npmjs.com/package/abp-ng2-module NPM package and it internally uses https://www.npmjs.com/package/abp-web-resources.

    But, I haven't tried abp-ng2-module, I'm not sure if it is going to work or not :).

  • User Avatar
    0
    BobIngham created

    It seems to work in Zero - why the hesitancy? Thanks for the head-up, we'll give this a try and reply here with any findings.

  • User Avatar
    0
    ismcagdas created
    Support Team

    It uses response of AbpUserConfiguration/GetAll http call. I think it can be achieved in Ionic app. Let us know if you face any problem.