Open daggeto opened 8 years ago
Seems like you need to install it with bower
if you expect to find it inside components
.
When you use npm
, it is installed inside node_modules
, and then you will probably need webpack or browserify to consume that.
if installed using bower, add this instead: `
<script src="lib/moment/min/moment.min.js"></script>
<script src="lib/angular-moment/angular-moment.min.js"></script>
`
Hi Antonio,
Why would you need to go to /lib, shouldn't the components be directly into the bower_components directory?
@TSilviu,
In your project root directory, add a new file .bowerrc
, you can specify the installation directory in bower. As for me,it's { "directory":"app/libs" }
, if you dont specify,default bower_components directory.
Hi i'm getting this errors on application start in console:
Steps i do:
npm install angular-moment moment --save
then add this toindex.html
I spent last night on this. Tried to install with bower. Changed lot of path combinations. What could be wrong?