Routing in subdirectory in Angular.js

前端 未结 1 1628
一个人的身影
一个人的身影 2021-02-02 12:31

Is it possible to develop an Angular.js application in a way that would be abstracted from the the web directory path in which it will be deployed?

I am trying to put an

1条回答
  •  别那么骄傲
    2021-02-02 12:50

    Try setting a in your . That's what I needed to do to get mine working, IIRC

    Word of caution: This will mess with any anchor tags that have href="#", as well as act as the root for image srcs and the like.

    0 讨论(0)
提交回复
热议问题