Skip to content

Can't manage to create my first tour #193

@Lysoun

Description

@Lysoun

Hello

I've been trying for quite some time to use your library and I can't manage to create my first tour. I have used some examples given in the documentation but I can't make them work.

I am using the exact versions of the following:

  • Browser: [Opera] Version: 62.0.3331.119

  • AngularJS: 1.6.4

  • Angular Bootstrap: I don't have it; it is not a dependency, is it?

  • Angular UI Tour: 0.9.2

I have installed this library via: Bower

I have observed the following behavior:

Even if I've imported ui Tour in my app.js, I don't seem to create any tours despite my html directives. The contents of my steps do appear but there are no titles, no buttons, nothing but my contents and there is no css. Here is a screen of what I can see:

Capture d’écran 2019-08-28 à 10 41 32

This is how I expected it to behave:

My steps should be displayed as there are in the demo.

Here is my tour config, and all related step configs:

var tourConfig = {};
<div ui-tour>
<div id="mainMenu"
     tour-step
     tour-step-title="Main Menu"
     tour-step-content="Navigate the site using this menu."
     tour-step-order="0"
     tour-step-placement="right">...</div>
...
<div id="settings" 
     tour-step 
     tour-step-title="Settings" 
     tour-step-content="Click here to change your settings." 
     tour-step-order="1">...</div>
<div id="finalTourMessage" 
     tour-step 
     tour-step-title="Welcome!" 
     tour-step-content="Enjoy using the app!" 
     tour-step-order="1000" 
     tour-step-orphan="true" 
     tour-step-backdrop="true">...</div>
</div>

Additional notes/code:
I have had problems when installing angular-ui-tour: bower would install angular-hotkeys and not cfp-angular-hotkeys and the line given in the README to import hotkeys wasn't correct. I don't think this is related though.

Thank you for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions