Otvoriť Uzavreté

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


User avatar
0
yorytang vytvorené
  • 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 odpoveď(e)/dí
  • User Avatar
    0
    alper vytvorené
    Tím podpory Director

    can you give more details?

  • User Avatar
    0
    yorytang vytvorené

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

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

  • User Avatar
    0
    berkansasmaz vytvorené
    Tím podpory .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 vytvorené

    thanks

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