Comments (3)
Hello, and thanks for the feedback.
Indeed it will throw because it is not designed to run with npm start
.
Use node app.js
, as per the README file instead and point a browser to http://localhost:8110/app.html (see README.md#Run).
Please let me know if I misunderstood your use case.
from angular-require-lazy.
hey thanks for reply but still on browser i am getting these errors
GET http://localhost:8110/scripts/lib/less.js/dist/less-1.6.2.js
app.html:35
GET http://localhost:8110/scripts/lib/requirejs/require.js
app.html:36
GET http://localhost:8110/scripts/lib/jquery/dist/jquery.js
app.html:39
Uncaught ReferenceError: jQuery is not defined(anonymous function) @ app.html:39
from angular-require-lazy.
Yes, I confirm that and it is caused by 2 reasons:
- I had forgotten to mention that you need to run
bower install
in the build instructions (fixed); please make sure you have runbower install
afternpm install
! - This is using an old version of Bootstrap(*), which is obviously not compatible with LESS 2.x; fixated versions of LESS-related plugins
(*) It would be nice to use more recent versions, but since the scope of this project is not to demonstrate a state-of-the-art build system or UI, but rather to explore a way of integrating Angular+Require with lazy loading, I will not change it. For production systems, use the latest versions, install Bootstrap through Bower etc...
Thanks again for the valuable input!
from angular-require-lazy.
Related Issues (7)
- Lazy directive HOT 1
- Config Dependencies HOT 2
- Css is not loading HOT 1
- 404 Not Found transition.js HOT 1
- "Unbootstrapping" angular app HOT 6
- Angular Require Lazy does not have a License 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-require-lazy.