Not working BootstrapTour with meteor 1.4 #570

Open
saeedjalali1 opened this Issue Sep 3, 2016 · 1 comment

Projects

None yet

2 participants

@saeedjalali1

Hi
I am using flowkey:bootstrap-tour package for BootstrapTour in meteor 1.4. but this package not working with my App. Here is my codes for this :

       let tour = new Tour({
     name: "tour",
     debug:true,
     container: "body",
     steps: [
     {
     element: "#test",
     title: "Title of my step",
     content: "Content of my step"
     }
     ],
     template:
     "<div class='popover tour'> <div class='arrow'></div> <h3 class='popover-title'></h3> " +
     "<div class='popover-content'></div> " +
     "<div class='popover-navigation'> " +
     "<button class='btn btn-default' data-role='prev'>« Prev</button> " +
     "<span data-role='separator'>|</span> " +
     "<button class='btn btn-default' data-role='next'>Next »</button> " +
     "</div> " +
     "<button class='btn btn-default' data-role='end'>End tour</button> " +
     "</div>"
     });


     // Initialize the tour
     tour.init();

     // Start the tour
     tour.start();

how to do it?
thanks for your attention. :-)

@brylie
brylie commented Sep 19, 2016 edited

I have had difficulty importing (ES2015 syntax) Bootstrap Tour from NPM, in a Meteor 1.4 app:

npm install --save bootstrap-tour

Then, in our application code:

import { Tour } from 'bootstrap-tour';
console.log(Tour);

This results in strange behavior with AutoForm, which may be related to a more general problem with how this library is imported. Basically, the above two lines are all that is necessary to break our Meteor 1.4 app.

@brylie brylie referenced this issue in apinf/platform Sep 19, 2016
Closed

Instruct user about API Profile tabs after adding an API #1445

0 of 1 task complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment