Aperto Chiuso

How to using hash(#) model in angular #1629


User avatar
0
yorytang creato
  • ABP Framework version: v4.3.X
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

How to set the web url to hash# model ?


5 risposte
  • User Avatar
    0
    alper creato
    Team di supporto Director

    can you give more details?

  • User Avatar
    0
    yorytang creato

    I have deploy web site to IIS. There is no problem accessing the page through the left menu ,but if I write url in browser address bar it will show 404 error.

  • User Avatar
    0
    yorytang creato

    I have change the url to hash # model, but the menu was disappeared and no any error

  • User Avatar
    0
    berkansasmaz creato
    Team di supporto .NET Developer

    Hi,

    Probably your Index.html file is missing in Angular's root directory, or you may have set the Angular root directory incorrectly while publishing via ISS.

    You can find more detailed information on the subject here.

  • User Avatar
    0
    yorytang creato

    thanks

Made with ❤️ on ABP v8.2.0-preview Updated on marzo 25, 2024, 15:11