mattlewis92/angular-bootstrap-calendar

calendarUtils.js.map routing exception

barralta opened this issue · 5 comments

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

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

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!!

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.

Sorry, I've been using :

<script src="bower_components/angular-bootstrap-calendar/dist/js/angular-bootstrap-calendar.js"></script>

I've changed it and works just fine!

Thansk so much and sorry again

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