Giter Club home page Giter Club logo

Comments (6)

kuitos avatar kuitos commented on June 13, 2024

应该是ui-router版本的原因。
使用 angular-ui-router 0.2.x 作依赖,最新版改动较多。
另外,不要使用angular-ui-router 跟 ui-router 是同一个库,不需要依赖两次。但是,0.2.x版本只有angular-ui-router库里有,ui-router已unpublish相关package。

from angular-utils.

flyher avatar flyher commented on June 13, 2024

感谢,换版本确实解决了问题.
顺便请教一下,这种方案是否适合,
已经用ng1写好的,每个页面封装了独立的controller和service并且包含众多css,js应用的大型项目。 也就是尽量不改原来的代码而实现这种加载方式。

from angular-utils.

kuitos avatar kuitos commented on June 13, 2024

这个方案本身就是不需要改原有代码的。
不知道你们现在是怎么写的,给个代码示例?

from angular-utils.

flyher avatar flyher commented on June 13, 2024

image
我似乎遇到了这个问题。

项目有些庞大,如果需要代码事例我试着整理一个简单的demo然后贴在这里给你参考一下。

from angular-utils.

kuitos avatar kuitos commented on June 13, 2024

截图跟你贴的链接是描述的同一个问题?
github上开个repo吧这里不好看

from angular-utils.

flyher avatar flyher commented on June 13, 2024

报错信息一样,我新开个repo

from angular-utils.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.