Calendar issue even with examples

In order to understand the calendar element of F7 I have created a variety of test pages each one based exactly on one or other of the provided examples.
In every case the calendar link fails with this error:

TypeError: undefined is not an object (evaluating ‘calendar.view.router’)

I’m hoping someone can point me in the direction or a resolution…

Maybe you haven’t included the calendar module? Try to use the framework7.bundle.js version. This file included all modules.

Thanks, but I always use the bundle.js version…

Put your code in jsfiddle

Because of shortage of time I used a Jquery calendar this time. Hopefully will revert to F7 in due course…

I found some time to look again at this issue and solved it.
The problem was NOT having ‘view-init’ alongside ‘view view-main’ in the top level div…

thanks to those who offered help