Ouvert Fermé

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


User avatar
0
yorytang créé
  • 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 Réponse (s)
  • User Avatar
    0
    alper créé
    Équipe d'assistance Director

    can you give more details?

  • User Avatar
    0
    yorytang créé

    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 créé

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

  • User Avatar
    0
    berkansasmaz créé
    Équipe d'assistance .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 créé

    thanks

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