Comments (6)
应该是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.
感谢,换版本确实解决了问题.
顺便请教一下,这种方案是否适合,
已经用ng1写好的,每个页面封装了独立的controller和service并且包含众多css,js应用的大型项目。 也就是尽量不改原来的代码而实现这种加载方式。
from angular-utils.
这个方案本身就是不需要改原有代码的。
不知道你们现在是怎么写的,给个代码示例?
from angular-utils.
我似乎遇到了这个问题。
项目有些庞大,如果需要代码事例我试着整理一个简单的demo然后贴在这里给你参考一下。
from angular-utils.
截图跟你贴的链接是描述的同一个问题?
github上开个repo吧这里不好看
from angular-utils.
报错信息一样,我新开个repo
from angular-utils.
Related Issues (6)
- no file to load has been found, if you're trying to load an existing module you should use the 'inject' method instead of 'load' HOT 6
- 你好我用到你的ui-router-require-polyfill.js 有个问题想问一下 HOT 2
- 反馈一个BUG,在新版本的angular-ui-router.js中和IONIC框架上不可用 HOT 6
- ui-router-require-polyfill not support UI-Router v1.0.0+ (support UI-Router 0.4.3-) HOT 1
- 在browser中使用 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-utils.