打开 关闭

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


User avatar
0
yorytang 创建
  • 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 答案
  • User Avatar
    0
    alper 创建
    支持团队 Director

    can you give more details?

  • User Avatar
    0
    yorytang 创建

    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 创建

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

  • User Avatar
    0
    berkansasmaz 创建
    支持团队 .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 创建

    thanks

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