We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello there!
I just trying to add the Shepherd in my current project. I installed the both (Popper.js too) by NPM, and imported in my library:
import Walkthrough from './library/Walkthrough' new Walkthrough().init()
So I followed the example:
import 'popper.js' import Shepherd from 'shepherd.js' class Walkthrough { constructor () { this.$step1 = $('.o-quicklinks') } init () { this.bindEvents() } bindEvents () { let tour = new Shepherd.Tour({ defaults: { classes: 'shepherd-theme-arrows' } }) tour.addStep('example', { title: 'Example Shepherd', text: 'Creating a Shepherd is easy too! Just create ...', attachTo: this.$step1, advanceOn: '.docs-link click' }) tour.start() } } export default Walkthrough
I got this error:
Error: Cannot find module 'popper' from '\node_modules\shepherd.js\dist\js'
What can I do?
Thanks, Vinícius Moraes.
The text was updated successfully, but these errors were encountered:
@vsdmoraes can you please try 2.0.0-beta.14? I think we had named popper popper instead of popper.js on accident, and that should be fixed now.
popper
popper.js
Sorry, something went wrong.
Hey @rwwagner90
Thank you! It's working! I just cloned the master and built the project to test.
But I need put it on my project by NPM, do you have some preview when the 2.0.0-beta.14 will be available on NPM?
And thank you for this awesome project!
Best, Vinícius Moraes.
@vsdmoraes I think it is on npm now. Sorry, travis failed to release it.
I've checked right now and the NPM version still not updated.
@vsdmoraes it's definitely updated, it's just not on the next or latest tags because I messed some things up, but the version is out there https://www.npmjs.com/package/shepherd.js/v/2.0.0-beta.14
No branches or pull requests
Hello there!
I just trying to add the Shepherd in my current project.
I installed the both (Popper.js too) by NPM, and imported in my library:
So I followed the example:
I got this error:
What can I do?
Thanks,
Vinícius Moraes.
The text was updated successfully, but these errors were encountered: