Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

[SPA] multiple SPA on the same project #1741


User avatar
0
daws created

Hello there,

ABP SPA is defined in /App/ which contains the full Dashboard code from aspnetzero.

i'm using the Dashboard SPA and another SPA for my main application.

I made Something like : /App/Dashboard => admin interface /App/Main => main app

Best practice is to define 1 sub folder by SPA app, i think.

it works fine, but each time a release of the admin interface is out, I've to rewrite all paths with the new folder when I copy/paste the full interface admin.

is it a possibility in ABP Template to set a folder for the admin interface ? like App/Abp or App/admin or Something else ? to allow the project to get multiple SPA.

another possibility is to leave App like that, and create AppMain to the base of my project. But it's against angular convention rule :)


2 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    I didn't deeply checked, but it may not be easy to automatically rename it (since App is not a good placeholder). Also, most applications needs single SPA, where App/Abp/ would be an overhead, instead of plain App/.

    I advice to use AppMain or something similar. I don't think it's against convention :D

  • User Avatar
    0
    daws created

    ok, i'll go for Something like /AppMain; thanks :mrgreen: