mattlewis92 / angular-bootstrap-calendar

A port of the bootstrap calendar widget to AngularJS (no jQuery required!)
https://mattlewis92.github.io/angular-bootstrap-calendar/
MIT License
798 stars 369 forks source link

calendarUtils.js.map routing exception #646

Closed barralta closed 7 years ago

barralta commented 7 years ago

Bug description / Feature request:

I'm just trying a little demo. I've installed version 0.30 but the calendar isn't rendered. I'm getting this error : No route found for "GET /bower_components/angular-bootstrap-calendar/dist/js/calendarUtils.js.map

Versions

Angular: 1.4.7 Calendar library: 0.30.0 Browser name and version: Chrome 60.0.3112.113

Any idea? Thanks

burtek commented 7 years ago

Where did you put project's JS files? Also, how do you include them?

barralta commented 7 years ago

Yes, I've included them. I've used bower to install so it's in bower's directory that's in /bower_components/angular-bootstrap-calendar

Thanks!!

burtek commented 7 years ago

So all you need is:

<link href="bower_components/angular-bootstrap-calendar/dist/css/angular-bootstrap-calendar.min.css" rel="stylesheet">
<script src="bower_components/angular-bootstrap-calendar/dist/js/angular-bootstrap-calendar-tpls.min.js"></script>

as per #installation. It should work correcty with that piece of code. Is that the code you have? No idea why it'd be looking for calendarUtils.js.map with this markup.

barralta commented 7 years ago

Sorry, I've been using :

I've changed it and works just fine!

Thansk so much and sorry again

burtek commented 7 years ago

No need to be sorry :) Glad we solved it.